notofonts / noto-source

Apache License 2.0
582 stars 89 forks source link

OS/2 PANOSE bFamilyType, bSerifStyle, bProportion #363

Open dougfelt opened 8 years ago

dougfelt commented 8 years ago

A large number of phase 2 Serif fonts have OS/2 PANOSE bSerifStyle values of 11, which indicates sans-serif. Some systems might use bSerifStyle to categorize fonts for fallback purposes, so it should be correct in the new phase 3 fonts. Some of the current sources for phase 3 currently have this error.

A bProportion value of 9 indicates a monospace font, and most existing phase 2 fonts set this correctly (9 if monospace, 2-4 if not). A few have 0 for proportion, but it's probably better to set a value.

Although PANOSE values are not defined for other than LGC we think that it makes sense to treat the non-LGC Noto fonts like their LGC counterparts, and assign the same bSerifStyle and bProportion values as the corresponding NotoSans/NotoSerif fonts have. Some existing fonts have 0 (any) for serif style. If we provide both sans and serif versions of a script then we should use an appropriate non-0 value.

All phase 2 fonts have bFamilyType of 2. Phase 3 should continue to do this.

No font should have a value of 1 (noFit) for bSerifStyle or bProportion.

@jungshik, do you have anything to add?

marekjez86 commented 8 years ago

@TrueTyper : since you are preparing a writeup, the above might be useful description of what we were thinking