Some font makers decide on a naming scheme that ends up with names like "Regular Italic" instead of "Italic".
This is sometimes problematic when working with InDesign character styles where Italic ≠ Regular Italic.
As long as the license allows i'd like to change specific entries in the 'name' table to change "Regular Italic" into "Italic".
What i found out myself:
- Usually there's a set of entries for Mac and Win separately.
- nameID 2 is where the font subfamily name is stored, it should only be used for the basic 4 styles: R,B,I,BI
- for compatibility with software that expects only 4 styles per family name nameIDs 16 and 17 are supposed to be added for extended families
- fonts sometimes have a nameID 17 just in the Win set and the value is the same as nameID 2 in the Mac set (mac nameID 2 = "Regular Italic", win nameID 2 = "Italic", win nameID 17 = "Regular Italic" and sometimes something is appended to win nameID 1 and it ends up like "FamilyName Regular" while the mac nameID 1 is still just "FamilyName" ), this is what it looks like in my fonts i export with Glyphs
- i would use fontTools.ttLib to do this
I also read that the nameIDs 16 and 17 are of higher priority. So changing the nameID 16 to my liking or adding it to the table would be safe? What would be the best way to approach this?