davelab6 / inkscape-font-editor

This project is about adding and refining the SVG font editor features of Inkscape.
1 stars 0 forks source link

Patch FontForge SVG importer #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/10211 notes 
problems with FontForge SVG importer. Fix these :)

Original issue reported on code.google.com by d.crossland on 20 May 2011 at 7:35

GoogleCodeExporter commented 9 years ago
I've checked out the FontForge source code and compiled it just to make sure 
that the current trunk has still not fixed the issue.

I know that the svg glyph parsing happens in
svg.c: line 1786: static SplineSet *SVGParseExtendedPath(xmlNodePtr svg, 
xmlNodePtr top) {

but I am not sure yet how to fix it.

I emailed the fontforge discussion list and figured out that one possible 
workaround would be to make Inkscape output <glyph><path 
d="something"/></glyph> so that current fontforge implementation can load it 
even before patching their <glyph d="something"/> bug.

Original comment by felipe.s...@gmail.com on 20 May 2011 at 9:34

GoogleCodeExporter commented 9 years ago
That seems like a good temporary fix. Please do that but leave this bug open so 
FF can handle SVG Fonts in general better

Original comment by d.crossland on 21 May 2011 at 12:44