Is there a way to access the currently set writing mode (LTR / RTL) for the use in a plugin/script? A simple Bool would be enough.
Why does the following outputs an empty list, instead of the open fonts? It works in the macro panel, but not in the init function of a reporter:
def init( self ):
self.Glyphs = GlyphsApp.Glyphs
self.logToConsole(self.Glyphs.languageData)
# ^^ works, so this should work as wel:
self.logToConsole(self.Glyphs.fonts)
# But it just returns an empty list
I need to get access to the font object, which should work like that, I assume?