I’m Having A Problem With my SVG Font Design

This is my first take on making fonts. So, please try to be as elaborate as possible.

So, i’m going to try and explain my issue as clean and elaborate as possible.

I’m using Inkscape to create my font. I designed the first letter “A” using Bezier Curves. I stroked them with the black color and disabled the fill. I opened the Glyph Viewer and added the curves to the reference “A”. When I preview the letter in the preview box, it appears to be filled with the black color. The point is that I want the letter to look just the way I designed it. Here, in my case I only want the strokes/outlines to show up in the preview, which will eventually become a complete font family.

FYI I have a backup for the letter that I created. I designed each part of the letter separately and finally joined them.

Any remedy for this problem would be deeply appreciated!

I’m attaching a sequence of images for your reference.

Workspace

"A" Design

Font Editor

Preview

"A" with Nodes

Answer

Glyphs are filled areas with no stroke. Font rendering software is interested only in the edge curves and it fills the interiors, your black stroke is not taken into the account.

Apply Path > Stroke to Path to your shape and make an union of the parts of a glyph before defining it belongs to a font. Then it will appear as originally drawn. Stroke to Path converts the stroke to closed fillable area.

Unfortunately I don’t know how to make Inkscape’s font editor to display glyphs without a fill. If I break a closed path at some node it’s still treated as closed path in font editor’s rendering. Hopefully someone who has underhood knowledge writes a proper answer which solves your problem without converting the strokes to paths.

If you use your font in a drawing you can remove the fill color and define a stroke. The problem occurs in the font editor.

BTW many questions has been written how to get single stroke fonts which could be open curves if needed. SVG font format should support them.

Attribution
Source : Link , Question Author : Zey_77023 , Answer Author : user287001

Leave a Comment