Hey Everyone,
I'm stumped. Does anyone here know how to detect reversed postscript hints using Python in FontLab?
Here's what I tried:
font = fl.font
for index in range(len(fl.font)):
glyph = fl.font[index]
vhw = glyph.vhints.width
if len(vhw) < 0:
print glyph.name, vhw
I find there are two things wrong here (but I don't know how to fix them).
1. FL py reports width as not being an attribute of hhints
2. len(vhw) < 0 returns nothing even when I know those instances are present
Any suggestions would be appreciated.
Thanks,
Delve Withrington