Error with System7Shadow Custom Parameter

Hi everybody!

I’m using Glyphs 3.2.3 and I’m experiencing a new problem with the System7Shadow Custom Parameter when I export my font. I didn’t find anythng about it on the forum.

Here is my Custom Parameter :

{
customParameters = (
{
name = Filter;
value = "RemoveOverlap;";
},
{
name = Filter;
value = "RoundCorner;-14;1;";
},
{
name = Filter;
value = "System7Shadow; outlineX:40.0; outlineY:40.0; depthX:0.0; depthY:0.0; keepSidebearings:1";
},
{
name = Filter;
value = "RemoveOverlap;";
}
);
}

Here is the error message :

There was an error in System7Shadow's filter() method when called through a Custom Parameter upon font export. Check your Macro window output.

In the Macro Window Output appears this :


Traceback (most recent call last):
  File "GlyphsApp/GlyphsApp/plugins.py", line 562, in processFont_withArguments_
  File "plugin.py", line 206, in filter
    fatLayer.removeOverlap()
  File "GlyphsApp/GlyphsApp/__init__.py", line 9379, in __GSLayer_RemoveOverlap__
ValueError: NSInvalidArgumentException - *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]

Thansk a lot!

Could you send me a sample file?

I just did!
:pray:

The problem is with the section glyph. All those filters produce an outline that the remove overlap can’t handle. And the handling of that error is itself broken (I fixed that).
You can add a “ignore:” argument to the filters to skip that glyph for now.