[cairo] svg to emf

Dominic Lachowicz domlachowicz at gmail.com
Tue Jan 6 13:38:14 PST 2009


> Actually even a windows based svg to emf converter would be great.

It's really easy to write one of these.

1) Create a cairo win32 printing surface that wraps the result of
CreateEnhMetaFile().
2) Use librsvg to render the SVG onto that surface.

It's *maybe* 100 lines of C code, counting whitespace, boilerplate, and etc.

-Dom


More information about the cairo mailing list