googlefonts / fontc

Where in we pursue oxidizing (context: https://github.com/googlefonts/oxidize) fontmake.
Apache License 2.0
85 stars 14 forks source link

Extra name record for "Regular" #1008

Closed rsheeter closed 1 month ago

rsheeter commented 1 month ago

We have multiple families where the diff, or one of the diffs, in name is that fontc adds a bonus record for "Regular":

-    <namerecord nameID="256" platformID="3" platEncID="1" langID="0x409">
-      Regular
-    </namerecord>
   </name>

For example, soft-type-jacquard/sources/Jacquard24Charted.glyphs does this because it's parsed as having named instances:

instances = (
{
instanceInterpolations = {
m01 = 1;
};
name = Regular;
}
);

The families in question appear to be static so having named instances is nonsensical.