Tuesday, July 9, 2013

How to use temporary closed single line fonts

Single line fonts that are true single lined, but in the format of .ttf or .otf need to be closed paths to fullfill the requirements for the file format. True single line fonts are open paths. So if we have temporarely closed a single line font this may be unclosed using my reopenSingleLineFont-extension. To install the extension copy the .py and .inx to the \Inkscape\share\extension folder. You need to restart Inkscape.

How the text to path is rendered is a bit different among the versions of Inkscape. For the last version 0.91 and mac the last node (if straight line) should be removed. For Windows and the older v0.48 only z's should be removed.

Here I have written something with my closed single line font.

To see the paths I turn the stroke on and the filling off.

Then I convert the text to path (Path->Object to Path) and ungroup the text-paths.

Next I use the reopenSingleLineFont from the Extensions->Typography menu (Re-open single line font). And my font is no longer text, but at least it looks and works as I want to :)

Read more on creating fonts.

3 comments:

  1. dear LN
    thanks for this post. i followed everything carefully, but could not get rid of the closing lines, the extension is not recognized in the menu. i also installed the versions for the japanese SD site, they are working but will remove vertical lines instead of the tilted closing lines.

    ReplyDelete
  2. I'm sorry not to see your comment until now. I have been busy with the rest of my working-mother life... I'm sorry to hear that it doesn't work. I don't own a mac myself so I have trouble testing in without the help of others. You could try to send me your svg file with the before and after results and I could try to figure out what to do with the problem. ellen at wasbo.net

    ReplyDelete