External Link Notice |
Page Information:
|
Page Title: Implement basic support for SVG graphics using wxSVG by nohal · Pull Request #531 · OpenCPN/OpenCPN · GitHub
Page Description: on Windows, Linux and OS X
Replaces #320
On all platforms, SVG support can be disabled by -DOCPN_USE_SVG=OFF cmake parameter
On Linux, we try to use GTK2 and if it is not found, look for GTK3. GTK3 dependency can be forced by -DOCPN_FORCE_GTK3=ON (Untested as I currently don't have a Fedora machine at hand)
Inclusion of wxSVG adds dependency on Expat and Cairo (and their dependencies like Pixman, LibPNG, Iconv, Fontconfig and LibXML2)
Prerequisities:
OS X:
brew install cairo
Linux:
apt-get install libexpat1-dev libcairo2-dev
or equivalent
Windows:
All the needed files included in the dependencies bundle (As part of the process the openssl dependency was dropped and cURL included to 9.46 + using the same ZLIB as the GTK libraries), the updated bundle is available at https://sourceforge.net/projects/opencpnplugins/files/opencpn_packaging_data/OpenCPN_buildwin-svg.7z/download
The vector graphics bundled into the package are placed in data/svg/<STYLESYSNAME>/
Add 2 testing toolbar icons (cairo does not like SVG files optimized with svgo and scour, but we should definitely investigate further as they save 80-90% of the size in comparison with SVGs saved by Inkscape)
This Page is About:
|
NOTICE: By following the "Continue to External Link" above you will be leaving Cruisers & Sailing Forums web site and entering a web site hosted by another party. Cruisers & Sailing Forums does not have any responsibility for, or control over, any of these sites, their content or their privacy policies. We do not endorse or make any representations about them, or any information, products, or materials found there, or any results that may be obtained from using them. If you decide to access any of the linked third parties, you do so entirely at your own risk.
|
|
All times are GMT -7. The time now is 16:03.