glyphr-studio / Glyphr-Studio-2

Glyphr Studio v1 is more than a decade old. V2 is here to save the day.
https://www.glyphrstudio.com/v2
109 stars 13 forks source link

Kerning is not exported. #188

Closed matj1 closed 5 months ago

matj1 commented 5 months ago

Describe the bug & what the expected behavior should be:

When I export a font from Glyphr Studio as OTF, the exported font does not have kerning. I expect that it would have the kerning which I set in the editor.

I encountered this with my font in practice, but I created an example font where it can be easily seen (further called “the kerning test”).

Steps to reproduce the bug:

  1. Get the kerning test, remove “.json” from the end of the name, and open it in Glyphr Studio.
  2. Check that the pair AB has noticeable kerning set.
  3. Export it as OTF.
  4. Display “AB” in the exported font.
  5. Check that the kerning is not there.

Other notes & screenshots:

In the editor:

“AB” in the kerning test in the editor

In LibreOffice Writer:

“AB” in the kerning test in LibreOffice Writer

mattlag commented 5 months ago

Unfortunately, Kern information cannot be exported directly to OTF (It's a limitation of opentype.js the library we use to write OTF files).

The work around is to export to SVG instead, then use an online font converter to convert to OTF.

https://www.glyphrstudio.com/help/getting-started/import-export.html

matj1 commented 5 months ago

I thank you for the information. I finished the font in FontForge. I was avoiding FontForge previously because it was too buggy.