googlefonts / ufo2ft

A bridge from UFOs to FontTools objects (and therefore, OTFs and TTFs).
MIT License
152 stars 43 forks source link

Allow any casing of "# Automatic Code"? #701

Closed madig closed 1 year ago

madig commented 1 year ago

One of ours just stumbled over this, you need to spell the feature insertion marker exactly as # Automatic Code, otherwise stuff silently doesn't work. Does Glyphs.app allow any case? If so, we should, too.

madig commented 1 year ago

@schriftgestalt hi! Does Glyphs.app care about the casing of the marker?

madig commented 1 year ago

So, using a different casing in some Noto font I found and clicking "compile" pops up some error, which disappears if I return to capital casing. I then suppose the answer is "no".

madig commented 1 year ago

But maybe ufo2ft should at least warn when encountering unexpected casing.

schriftgestalt commented 1 year ago

It needs to be written exactly like this.