Hi Glyphs dev team,
I am trying to write a script to detect when vertical TT hints are pointing in the wrong direction:
# find TT hints pointing towards the alignment zones instead of away from them glyphs= hintsFound=False for g in Font.glyphs: for l in g.layers: if l.isMasterLayer or l.isSpecialLayer: for h in l.hints: hintsFound = True if h.horizontal and h.type==TTSTEM: # h.horizontal seems to be true for vertical hints(!) for z in l.master.alignmentZones: [...]
As you can see,
h.horizontal seems to be the wrong way round, i.e.
True for vertical hints (and presumably
False for horizontal ones). Is this a bug?