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? šŸ™‚

  • admin

    mm, strange... listNamedInstances must return a dict and listOpenTypeFeatures a list even if the font has no instances or features

    could you provide a dummy font? (offlist: frederik@typemytype.com)

  • admin

    which version of DrawBot are you using?

    is this happening inside the app or when you use DrawBot as a module?

Log in to reply