Lines Matching refs:pFontMetric

283 static ImplDevFontAttributes Os2Font2DevFontAttributes( const PFONTMETRICS pFontMetric)  in Os2Font2DevFontAttributes()  argument
288 aDFA.meFamily = ImplFamilyToSal( pFontMetric->panose.bFamilyType); in Os2Font2DevFontAttributes()
290 aDFA.meWeight = ImplWeightToSal( pFontMetric->usWeightClass); in Os2Font2DevFontAttributes()
291 aDFA.meItalic = (pFontMetric->fsSelection & FM_SEL_ITALIC) ? ITALIC_NORMAL : ITALIC_NONE; in Os2Font2DevFontAttributes()
292 aDFA.mePitch = ImplLogPitchToSal( pFontMetric->fsType ); in Os2Font2DevFontAttributes()
293 aDFA.mbSymbolFlag = (pFontMetric->usCodePage == SYMBOL_CHARSET); in Os2Font2DevFontAttributes()
298 aDFA.maName = UniString( pFontMetric->szFamilyname, gsl_getSystemTextEncoding()); in Os2Font2DevFontAttributes()
300 aDFA.maStyleName = ImpStyleNameToSal( pFontMetric->szFamilyname, in Os2Font2DevFontAttributes()
301 pFontMetric->szFacename, in Os2Font2DevFontAttributes()
302 strlen( pFontMetric->szFamilyname) ); in Os2Font2DevFontAttributes()
305 aDFA.mbOrientation = (pFontMetric->fsDefn & FM_DEFN_OUTLINE) != 0; in Os2Font2DevFontAttributes()
306 aDFA.mbDevice = (pFontMetric->fsDefn & FM_DEFN_GENERIC) ? FALSE : TRUE; in Os2Font2DevFontAttributes()
310 DWORD fontType = Ft2QueryFontType( 0, pFontMetric->szFamilyname); in Os2Font2DevFontAttributes()
422 pFontMetric( _pFontMetric ), in ImplOs2FontData()
467 DWORD fontType = Ft2QueryFontType( 0, pFontMetric->szFacename); in UpdateFromHPS()
469 && (pFontMetric->fsDefn & FM_DEFN_GENERIC) == 0) in UpdateFromHPS()
635 PFONTMETRICS pFontMetric = NULL; in ImplDoSetFont() local
649 pFontMetric = pFontData->GetFontMetrics(); in ImplDoSetFont()
651 bOutline = (pFontMetric->fsDefn & FM_DEFN_OUTLINE) != 0; in ImplDoSetFont()
654 aFAttrs.lMatch = pFontMetric->lMatch; in ImplDoSetFont()
655 aFAttrs.idRegistry = pFontMetric->idRegistry; in ImplDoSetFont()
656 aFAttrs.usCodePage = pFontMetric->usCodePage; in ImplDoSetFont()
666 aFAttrs.lMaxBaselineExt = pFontMetric->lMaxBaselineExt; in ImplDoSetFont()
667 aFAttrs.lAveCharWidth = pFontMetric->lAveCharWidth; in ImplDoSetFont()
672 if (pFontMetric->szFacename[0] == 'D') { in ImplDoSetFont()
681 strncpy( (char*)(aFAttrs.szFacename), pFontMetric->szFacename, sizeof( aFAttrs.szFacename ) ); in ImplDoSetFont()
682 } else if ( !pFontMetric) { in ImplDoSetFont()
688 strncpy( (char*)(aFAttrs.szFacename), pFontMetric->szFamilyname, sizeof( aFAttrs.szFacename ) ); in ImplDoSetFont()
691 strncpy( (char*)(aFAttrs.szFacename), pFontMetric->szFacename, sizeof( aFAttrs.szFacename ) ); in ImplDoSetFont()
700 if (pFontMetric->szFacename[0] == 'A') { in ImplDoSetFont()
701 debug_printf( "Os2SalGraphics::SetFont hps %x lMatch '%d'\n", mhPS, pFontMetric->lMatch); in ImplDoSetFont()
702 …debug_printf( "Os2SalGraphics::SetFont hps %x fontmetrics facename '%s'\n", mhPS, pFontMetric->szF… in ImplDoSetFont()
731 if (pFontMetric->szFacename[0] == 'D') { in ImplDoSetFont()
807 if (pFontMetric->szFacename[0] == 'D') { in ImplDoSetFont()
1159 PFONTMETRICS pFontMetric = &pFontMetrics[i]; in GetDevFontList() local
1162 debug_printf("Os2SalGraphics::GetDevFontList #%d,'%s'\n", i, pFontMetric->szFacename); in GetDevFontList()
1167 if (pFontMetric->szFacename[0] == '@') in GetDevFontList()
1171 if ( (pFontMetric->fsDefn & FM_DEFN_OUTLINE) == 0 in GetDevFontList()
1172 && strncmp( pFontMetric->szFacename, "WarpSans", 8) ) in GetDevFontList()
1177 char* dash = pFontMetric->szFacename; in GetDevFontList()
1182 ImplOs2FontData* pData = new ImplOs2FontData( pFontMetric, 0, 0 ); in GetDevFontList()