fontbakery icon indicating copy to clipboard operation
fontbakery copied to clipboard

Check sups/subs/sinf glyphs exist, are encoded, and have related features

Open davelab6 opened this issue 7 years ago • 2 comments

"Pro" and "Expert" fonts should have a bunch of glyphs related to numbers, aka "figures", and corresponding OT features.

I think these glyphs should when possible be encoded, so the glyph names for the 20 superior and inferior characters would be zerosuperior through nineinferior, plus the 3 related OT features, sups, subs, sinf.

Some context on this:

  • https://glyphsapp.com/tutorials/superscript-and-subscript-figures
  • https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts
  • http://ilovetypography.com/OpenType/opentype-features.html

I expect that it will be common to find these glyphs named with a valid schema (eg one.sups or one.sinf or one.superior) that is not preferred because it means the glyphs are not encoded. So there could be checks if the glyphs follow those known anti patterns; and checks for if the glyphs are encoded correctly but

Also a check if the characters are encoded, if their glyphs don't conform to that naming scheme.

davelab6 avatar May 02 '18 19:05 davelab6

Why do you want them always encoded? The encoded ones are phonetic symbols and can plausibly have different design considerations than the OpenType features.

khaledhosny avatar May 09 '18 09:05 khaledhosny

can you show me examples of that?

davelab6 avatar May 10 '18 20:05 davelab6