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

Glyph Construction (UI and Python) adding unexpected blank glyph to fonts (RF4) #58

Open
arrowtype opened this issue Sep 28, 2021 · 1 comment

Comments

@arrowtype
Copy link

arrowtype commented Sep 28, 2021

When I run Glyph Construction (either via the UI extension or via Python), it seems to add an unexpected blank glyph to fonts, like this:

image

This is showing a blank glyph because an empty string is added to the lib.plist withinpublic.glyphOrder and com.defcon.sortDescriptor[ascending]:

image

This has happened in multiple, very different fonts, so I don’t think it’s something from my particular files.

Versions:

  • RoboFont 4.0
  • macOS 10.15.5
@nicksherman
Copy link

I ran in to this issue as well, and realized it happens whenever there is any new line that is not a comment but is otherwise blank. I don't believe this has always been an issue, since my .glyphconstruction files have always had many blank lines but I only started getting the empty glyphs recently.

As a temporary half-fix you can add # to the start of any otherwise blank line to prevent it from resulting in a new empty glyph, but I agree the previous behavior was preferable.

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