Mobile app version of vmapp.org
Login or Join
Nimeshi706

: Fontforge: Glyphs importing from inkscape with path inverted When I import an svg from inkscape into fontforge, the path is inverted. Why is this? I am running windows 10, with inkscape 0.91.

@Nimeshi706

Posted in: #FontForge #Inkscape #Path

When I import an svg from inkscape into fontforge, the path is inverted. Why is this?

I am running windows 10, with inkscape 0.91. When I try to import a glyph outline, fontforge imports it, but does so with 3 separate paths, and when viewed in the metrics window, it seems the path itself is inverted. Why is fontforge splitting 1 path into 3, and how can I prevent it from doing that?

pic1 - Fontforge metrics.

pic2 - tripled path after importing from inkscape

pic3 - full glyph

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Nimeshi706

2 Comments

Sorted by latest first Latest Oldest Best

 

@Moriarity648

It looks like you have a stroke set on your letter form. In Inkscape just remove the stroke before you save the SVG.

Example 1: importing an SVG into FontForge with stroke and fill set in Inkscape. The result is three paths.



Example 2: importing an SVG into FontForge with only fill applied, and no stroke in Inkscape. The result is a single path.

10% popularity Vote Up Vote Down


 

@Harper654

This looks familiar, if are are importing the objects from inkscape. 0.48 into pre-2015 builds of fontforge this happens. You should try to be very clear on the platform you are using eg.windows, mac or Linux distribution you are guaranteed a more defined solution. As a workaround in your case I would export the entire glyph set as png, convert it as an index png in whatever image editing tool you're using , load that png into a tool called glyphtracer, that will then output the image as a sfd you can open in fontforge for tweaking.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme