Hello! I’ve been working on a version control plugin which checks font files into git on save. Now I’m working on the other half of the problem: a script which navigates the repository history. I want to be able to double-click on a revision, and check out that version of the font.
The problem is that even if I do git checkout, (changing the file on disk) I can’t see how to get Glyphs to reload the new version of the font to reflect the changes.
Is there a notification I can post or something to get Glyphs to (ideally) reload the font, or (less ideally) close the current font and open a specified font?
Hi Simon, I report @monokano’s feedback. To be honest I haven’t used it, so my explanation may not be clear, but here it goes:
It’s a bit odd that when you double-click a past version, the file itself is indeed replaced, but the glyph view isn’t refreshed and you need to close the file.
To refresh the history you need to close the history window. Maybe it’s better to auto-refresh or have a refresh button, and also clear history button?
History is tied to file name, so it loses track when you rename the file. It might help if there is on option to show the file name.