Changing feature code does not update text preview

If I edit feature code, the font in text preview does not get updated, even when I hit compile button. I have to modify some outline or anchor for the text preview font to get updated.

We are working on updating the Text Preview with feature code changes (and other font metadata changes).

1 Like

I see, thanks!

Although, pressing Compile should already work in the current version of Glyphs. What feature code are you working on?

As a workaround, you can add a script with the following Python code and trigger it with a keyboard shortcut:

NSNotificationCenter.defaultCenter().postNotificationName_object_("GSFeaturesChanged", None)
1 Like

Hmm, it seems to work now, but it didn’t seem to be working yesterday. May be I did something wrong or the font was a bit slow to update and I didn’t wait long enough.

1 Like