[cairo] metafile from cairo into powerpoint

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Tue Oct 14 00:25:04 PDT 2008


What I usually do is generate eps/ps with cairo and convert that to
emf/wmf using one of the hard-to-find open-source converters available
on the web. There are a couple of converters there:
http://en.wikipedia.org/wiki/Windows_Metafile

I considered implementing my own emf/wmf backend for cairo using
microsoft's released specifications but I don't know how legal that
would be: if someone is willing to look at this
http://msdn.microsoft.com/en-us/library/cc230514.aspx and tell me
whether it is legal to use it for a GPL implementation of a wmf/emf
generator, I would be happy to give this a shot in some of my copious
spare time.

Mathieu

On Mon, 2008-10-13 at 13:04 -0700, Charles سمير Doutriaux wrote:
> Hello,
> 
> A lot of our users need to import graphics into their powerpoint  
> presentations.
> 
> We used to simply (under windows at least) do an insert picture from  
> file, select the postscript file we wanted (not eps) tell powerpoint  
> to treat it as eps, then right click on it, do "ungroup" and by some  
> magic powerpoint would convert it back to some windows meta file of  
> its own.
> 
> That worked great but it seems that the file genrated by cairo are  
> "font incompatible"with that method.
> 
> 
> I was wondering if there's a way to get some metafile from cairo into  
> powerpoint (for rescaling and editing labels/legend at the last minute)
> 
> I tried svg but Powerpoint doesn't seem to know how to deal with it.
> 
> Is there another metafile format cairo can output to (like cgm or  
> window metafiles?)
> 
> I'm wondering how cairo users deal with this in genral.
> 
> Thanks,
> 
> C.
> 
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo



More information about the cairo mailing list