Empty font properties. Cache?
-
Hi! Iām running into what seems to be a bug: some font properties are not showing up as expected, even with this bare minimum code:
fontPath = '/...ā print(font(fontPath)) # returns the font name print(listFontVariations(fontPath)) # returns variations print(listNamedInstances(fontPath)) # None print(listOpenTypeFeatures(fontPath)) # None
Iām using a script for proofing, and that started happening after some font re-exporting. What helps is moving the font into a different folder or restarting the laptop, but then it breaks again. Seems like a cache issue to me; is that a thing in Drawbot? Any recommendations please?
-
mm, strange...
listNamedInstances
must return a dict andlistOpenTypeFeatures
a list even if the font has no instances or featurescould you provide a dummy font? (offlist: frederik@typemytype.com)
-
which version of DrawBot are you using?
is this happening inside the app or when you use DrawBot as a module?