Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support exporting vertical kerning to UFO #824

Open
anthrotype opened this issue Oct 14, 2022 · 1 comment
Open

support exporting vertical kerning to UFO #824

anthrotype opened this issue Oct 14, 2022 · 1 comment

Comments

@anthrotype
Copy link
Member

There's a kerningVertical dict in .glyphs sources, which glyphsLib can parse and serialize from/to .glyphs files. We need to find a way to export that to the UFO in a way that fontmake can then use with ufo2ft (googlefonts/ufo2ft#668) to compile vkrn feature.

@schriftgestalt
Copy link
Collaborator

I see two options:

  • Write it to verticalKerning.plist and add support for it in fontmake/ufo2ft.
  • put it in a private key in lib.plist and add support for that in fontmake/ufo2ft.

I’ll add the private key for now just to be able to round trip.

And we also need to find a place to put the vertical kerning classes. When we put them in groups.plist we need to make sure that there are no collisions with the horizontal groups. In Glyphs it might be that leftKern, rightKern, topKern and bottomKern are all the same (e.g. "A")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants