schriftgestalt / Glyphs-Scripts

Some useful scripts to work with Glyphs
glyphsapp.com
114 stars 103 forks source link

Make Unicase Font broken #30

Closed simoncozens closed 7 months ago

simoncozens commented 8 years ago

I get this error every time:

Start
Lower a
Traceback (most recent call last):
  File "Make Unicase Font.py", line 21, in <module>
    lowerGlyph.leftKerningGroup = upperGlyph.leftKerningGroup
  File "GlyphsApp/__init__.py", line 3876, in <lambda>
  File "GlyphsApp/__init__.py", line 453, in NSStr
ValueError: NSInvalidArgumentException - *** -[NSPlaceholderString initWithString:]: nil argument
End
schriftgestalt commented 8 years ago

Check if 'upperGlyph.leftKerningGroup' is mit None. I'll add a check.