Lines Matching refs:aOS2Metric

728 	FONTMETRICS aOS2Metric = {0};  in ImplDoSetFont()  local
729 rc = Ft2QueryFontMetrics( mhPS, sizeof( aOS2Metric ), &aOS2Metric ); in ImplDoSetFont()
732 …debug_printf( "Os2SalGraphics::SetFont Ft2QueryFontMetrics fattrs facename '%s'\n", aOS2Metric.szF… in ImplDoSetFont()
733 …debug_printf( "Os2SalGraphics::SetFont Ft2QueryFontMetrics fattrs height '%d'\n", aOS2Metric.lMaxB… in ImplDoSetFont()
734 …debug_printf( "Os2SalGraphics::SetFont Ft2QueryFontMetrics fattrs width '%d'\n", aOS2Metric.lAveCh… in ImplDoSetFont()
806 rc = Ft2QueryFontMetrics( mhPS, sizeof( aOS2Metric ), &aOS2Metric ); in ImplDoSetFont()
808 …debug_printf( "Os2SalGraphics::SetFont Ft2QueryFontMetrics fattrs facename '%s'\n", aOS2Metric.szF… in ImplDoSetFont()
809 …debug_printf( "Os2SalGraphics::SetFont Ft2QueryFontMetrics fattrs height '%d'\n", aOS2Metric.lMaxB… in ImplDoSetFont()
810 …debug_printf( "Os2SalGraphics::SetFont Ft2QueryFontMetrics fattrs width '%d'\n", aOS2Metric.lAveCh… in ImplDoSetFont()
901 FONTMETRICS aOS2Metric; in GetFontMetric() local
902 Ft2QueryFontMetrics( mhPS, sizeof( aOS2Metric ), &aOS2Metric ); in GetFontMetric()
908 if (aOS2Metric.szFacename[0] == 'A') { in GetFontMetric()
909 …( "Os2SalGraphics::GetFontMetric hps %x fontmetrics facename '%s'\n", mhPS, aOS2Metric.szFacename); in GetFontMetric()
910 …debug_printf( "Os2SalGraphics::GetFontMetric hps %x fontmetrics lMatch '%d'\n", mhPS, aOS2Metric.l… in GetFontMetric()
914 pMetric->maName = UniString( aOS2Metric.szFamilyname, gsl_getSystemTextEncoding()); in GetFontMetric()
915 pMetric->maStyleName = ImpStyleNameToSal( aOS2Metric.szFamilyname, in GetFontMetric()
916 aOS2Metric.szFacename, in GetFontMetric()
917 strlen( aOS2Metric.szFamilyname ) ); in GetFontMetric()
920 pMetric->meFamily = ImplFamilyToSal( aOS2Metric.panose.bFamilyType); in GetFontMetric()
921 pMetric->mbSymbolFlag = (aOS2Metric.usCodePage == SYMBOL_CHARSET); in GetFontMetric()
922 pMetric->meWeight = ImplWeightToSal( aOS2Metric.usWeightClass ); in GetFontMetric()
923 pMetric->mePitch = ImplLogPitchToSal( aOS2Metric.fsType ); in GetFontMetric()
924 … pMetric->meItalic = (aOS2Metric.fsSelection & FM_SEL_ITALIC) ? ITALIC_NORMAL : ITALIC_NONE; in GetFontMetric()
928 pMetric->mbDevice = (aOS2Metric.fsDefn & FM_DEFN_GENERIC) ? FALSE : TRUE; in GetFontMetric()
929 pMetric->mbScalableFont = (aOS2Metric.fsDefn & FM_DEFN_OUTLINE) ? true : false; in GetFontMetric()
934 pMetric->mbKernableFont = (aOS2Metric.sKerningPairs > 0); in GetFontMetric()
945 if ( aOS2Metric.fsDefn & FM_DEFN_OUTLINE ) in GetFontMetric()
947 pMetric->mnWidth = aOS2Metric.lEmInc; in GetFontMetric()
951 pMetric->mnWidth = aOS2Metric.lAveCharWidth; in GetFontMetric()
954 pMetric->mnIntLeading = aOS2Metric.lInternalLeading; in GetFontMetric()
955 pMetric->mnExtLeading = aOS2Metric.lExternalLeading; in GetFontMetric()
956 pMetric->mnAscent = aOS2Metric.lMaxAscender; in GetFontMetric()
957 pMetric->mnDescent = aOS2Metric.lMaxDescender; in GetFontMetric()
1005 FONTMETRICS aOS2Metric; in GetKernPairs() local
1006 Ft2QueryFontMetrics( mhPS, sizeof( aOS2Metric ), &aOS2Metric ); in GetKernPairs()
1007 int nCount = aOS2Metric.sKerningPairs; in GetKernPairs()
1669 FONTMETRICS aOS2Metric; in GetEmbedFontData() local
1670 if (Ft2QueryFontMetrics( mhPS, sizeof( aOS2Metric ), &aOS2Metric ) == GPI_ERROR) in GetEmbedFontData()
1673 rInfo.m_aPSName = ImplSalGetUniString( aOS2Metric.szFacename ); in GetEmbedFontData()
1674 rInfo.m_nAscent = +aOS2Metric.lMaxAscender; in GetEmbedFontData()
1675 rInfo.m_nDescent = -aOS2Metric.lMaxDescender; in GetEmbedFontData()
1676 rInfo.m_aFontBBox = Rectangle( Point( 0, -aOS2Metric.lMaxDescender ), in GetEmbedFontData()
1677 Point( aOS2Metric.lMaxCharInc, aOS2Metric.lMaxAscender+aOS2Metric.lExternalLeading ) ); in GetEmbedFontData()
1678 rInfo.m_nCapHeight = aOS2Metric.lMaxAscender; // Well ... in GetEmbedFontData()