[os2] minor spacing tweaks
This commit is contained in:
parent
54b9ab704d
commit
08b48e89d3
|
@ -203,6 +203,7 @@ struct OS2
|
||||||
*max_cp = codepoints->get_max ();
|
*max_cp = codepoints->get_max ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* https://github.com/Microsoft/Font-Validator/blob/520aaae/OTFontFileVal/val_OS2.cs#L644-L681 */
|
||||||
enum font_page_t {
|
enum font_page_t {
|
||||||
HEBREW_FONT_PAGE = 0xB100, // Hebrew Windows 3.1 font page
|
HEBREW_FONT_PAGE = 0xB100, // Hebrew Windows 3.1 font page
|
||||||
SIMP_ARABIC_FONT_PAGE = 0xB200, // Simplified Arabic Windows 3.1 font page
|
SIMP_ARABIC_FONT_PAGE = 0xB200, // Simplified Arabic Windows 3.1 font page
|
||||||
|
@ -212,8 +213,6 @@ struct OS2
|
||||||
TRAD_FARSI_FONT_PAGE = 0xBB00, // Traditional Farsi Windows 3.1 font page
|
TRAD_FARSI_FONT_PAGE = 0xBB00, // Traditional Farsi Windows 3.1 font page
|
||||||
THAI_FONT_PAGE = 0xDE00 // Thai Windows 3.1 font page
|
THAI_FONT_PAGE = 0xDE00 // Thai Windows 3.1 font page
|
||||||
};
|
};
|
||||||
|
|
||||||
// https://github.com/Microsoft/Font-Validator/blob/520aaae/OTFontFileVal/val_OS2.cs#L644-L681
|
|
||||||
font_page_t get_font_page () const
|
font_page_t get_font_page () const
|
||||||
{ return (font_page_t) (version == 0 ? fsSelection & 0xFF00 : 0); }
|
{ return (font_page_t) (version == 0 ? fsSelection & 0xFF00 : 0); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue