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

Previews sometimes fail when multiple source files are changed #407

Open
LettError opened this issue May 7, 2024 · 0 comments
Open

Previews sometimes fail when multiple source files are changed #407

LettError opened this issue May 7, 2024 · 0 comments

Comments

@LettError
Copy link

LettError commented May 7, 2024

When FG has a designspace open..

.. and a font editor exports several .fea files for the masters (for instance when updating kerning), and this export is done super fast, by script,

..then FG notices a change in the first .fea and starts recompiling..

.. but then more .fea files are changed..

.. and then it can happen that this process fails with this message in the output:

  File "fontgoggles/mac/mainWindow.pyc", line 509, in _loadFont
AttributeError: 'NoneType' object has no attribute 'getExternalFiles'

For example, a designspace with a discrete axis might present in FG as 2 separate lines. When exporting kerning .fea sometimes one or the other or both don't show up. Stripy background, empty line. Repeating this brings the outcome where both lines are visible, but it is not ideal.

Unfounded suspicion: perhaps if FG would hesitate. Clearly that would be an expensive trade off if such a delay is too long. But maybe there is a delay that would not be noticable by the impatient user, but would give the files time to get saved.

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

1 participant