Searched refs:pOS2 (Results 1 – 1 of 1) sorted by relevance
984 const TT_OS2* pOS2 = (const TT_OS2*)FT_Get_Sfnt_Table( maFaceFT, ft_sfnt_os2 ); in FetchFontMetric() local986 if( pOS2 && (pOS2->version != 0xFFFF) ) in FetchFontMetric()989 switch( pOS2->panose[0] ) in FetchFontMetric()1001 switch( pOS2->panose[3] ) in FetchFontMetric()1018 int nDescent = pOS2->usWinDescent; in FetchFontMetric()1020 nDescent = (short)pOS2->usWinDescent; // interpret it as signed! in FetchFontMetric()1023 if( pOS2->usWinAscent || pOS2->usWinDescent ) // #i30551# in FetchFontMetric()1025 rTo.mnAscent = (long)( +pOS2->usWinAscent * fScale + 0.5 ); in FetchFontMetric()1027 …rTo.mnIntLeading = (long)( (+pOS2->usWinAscent + pOS2->usWinDescent - maFaceFT->units_per_EM) *… in FetchFontMetric()1030 if( (pHHEA != NULL) && (pOS2->usWinAscent || pOS2->usWinDescent) ) in FetchFontMetric()[all …]