Newbie scripter here… if I run
print( Glyphs.font.glyphs["A"].name )
print( Glyphs.font.glyphs["A"].case )
Macro window returns me this:
A
1
that means .case =1, correct?
So, why this doesn’t work?
UC = [g for g in Glyphs.font.glyphs
if g.case == "1"
and g.export
]
print (UC)
Returns:
[ ]
And, why Uppercase is not a subCategory by default? — if I manually set this at Glyph Info, I can use the g.subCategory == Uppercase