librsvg-d 0.0.4

rsvg bindings and wrappers for the D programming language.


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

librsvg-d

librsvg is a library to render SVG files using cairo. librsvg-d is a D binding for librsvg.

Limitations

Not all of librsvg is bound. You may need to add functionality to suit your needs. Pull requests are very welcome.

Dependencies

librsvg depends on cairo and libxml. librsvg-d also depends on cairod. Projects that use librsvg-d need to link against librsvg. The easiest way to use librsvg-d is via dub:

"dependencies": {
    "librsvg-d": ">=0.0.3"
},
"libs": ["rsvg-2.0"]

Troubleshooting

On Mac OS X, if you get an error ld: library not found for -lrsvg-2.0, then run

export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig:$PKG_CONFIG_PATH

If you need PDF, PS, or SVG surface support, you may need to modify cairod's src/cairo/c/config.d.

Authors:Josh Netterfield

Dependencies:cairod

Versions:
0.0.4 2014-Nov-01
0.0.3 2014-Oct-13
0.0.2 2014-Oct-13
Show all 3 versions
Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 136 downloads total