Port details on branch 2025Q3 |
- nanosvg Simple C++ header-only SVG parser
- 20241219 graphics
=3 20241219Version of this port present on the latest quarterly branch. - Maintainer: yuri@FreeBSD.org
 - Port Added: 2019-09-21 14:44:49
- Last Update: 2025-01-15 16:44:52
- Commit Hash: 62a5a42
- People watching this port, also watch:: vcdimager, yarn-node20, libssh, xcb-util-image, autoconf
- License: ZLIB
- WWW:
- https://github.com/memononen/nanosvg
- Description:
- NanoSVG is a simple stupid single-header-file SVG parse. The output of the
parser is a list of cubic bezier shapes.
The library suits well for anything from rendering scalable icons in your editor
application to prototyping a game.
NanoSVG supports a wide range of SVG features, but something may be missing,
feel free to create a pull request!
The shapes in the SVG images are transformed by the viewBox and converted to
specified units. That is, you should get the same looking data as your designed
in your favorite app.
NanoSVG can return the paths in few different units. For example if you want to
render an image, you may choose to get the paths in pixels, or if you are
feeding the data into a CNC-cutter, you may want to use millimeters.
The units passed to NanoSVG should be one of: 'px', 'pt', 'pc' 'mm', 'cm', or
'in'. DPI (dots-per-inch) controls how the unit conversion is done.
If you don't know or care about the units stuff, "px" and 96 should get you
going.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- nanosvg>0:graphics/nanosvg
- To install the port:
- cd /usr/ports/graphics/nanosvg/ && make install clean
- To add the package, run one of these commands:
- pkg install graphics/nanosvg
- pkg install nanosvg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: nanosvg
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1736927347
SHA256 (memononen-nanosvg-20241219-ea6a6ac_GH0.tar.gz) = 1f69560fefa7c97d0497753d898514dae52146faeb626c6a252d59b224198d64
SIZE (memononen-nanosvg-20241219-ea6a6ac_GH0.tar.gz) = 297985
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- This port is required by:
- for Build
-
- audio/surge-synthesizer-lv2
- audio/surge-synthesizer-xt-lv2
- graphics/hvif-tools
- x11-wm/icewm
Configuration Options:
- No options to configure
- Options name:
- graphics_nanosvg
- USES:
- cpe
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|