[cairo] svg to emf

Charles سمير Doutriaux doutriaux1 at llnl.gov
Tue Jan 6 15:32:03 PST 2009


Thanks,

I'll try this. Maybe it could come with cairo's distribution under  
windows (maybe even more general with different input/output types)?

C.

On Jan 6, 2009, at 1:38 PM, Dominic Lachowicz wrote:

>> 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