Lines Matching refs:rTo

949 void FreetypeServerFont::FetchFontMetric( ImplFontMetricData& rTo, long& rFactor ) const  in FetchFontMetric()  argument
951 static_cast<ImplFontAttributes&>(rTo) = mpFontInfo->GetFontAttributes(); in FetchFontMetric()
953 rTo.mbScalableFont = true; in FetchFontMetric()
954 rTo.mbDevice = true; in FetchFontMetric()
955 rTo.mbKernableFont = (FT_HAS_KERNING( maFaceFT ) != 0) || mpFontInfo->HasExtraKerning(); in FetchFontMetric()
956 rTo.mnOrientation = GetFontSelData().mnOrientation; in FetchFontMetric()
960 (rTo.GetFamilyName().EqualsAscii("OpenSymbol")) || in FetchFontMetric()
961 (rTo.GetFamilyName().EqualsAscii("StarSymbol")) in FetchFontMetric()
964 rTo.mbSymbolFlag = true; in FetchFontMetric()
972 rTo.mnWidth = mnWidth; in FetchFontMetric()
975 rTo.mnAscent = (+rMetrics.ascender + 32) >> 6; in FetchFontMetric()
977 rTo.mnDescent = (+rMetrics.descender + 32) >> 6; in FetchFontMetric()
979 rTo.mnDescent = (-rMetrics.descender + 32) >> 6; in FetchFontMetric()
981 rTo.mnIntLeading = ((rMetrics.height + 32) >> 6) - (rTo.mnAscent + rTo.mnDescent); in FetchFontMetric()
982 rTo.mnSlant = 0; in FetchFontMetric()
991 case 1: rTo.meFamily = FAMILY_ROMAN; break; in FetchFontMetric()
992 case 2: rTo.meFamily = FAMILY_SWISS; break; in FetchFontMetric()
993 case 3: rTo.meFamily = FAMILY_MODERN; break; in FetchFontMetric()
994 case 4: rTo.meFamily = FAMILY_SCRIPT; break; in FetchFontMetric()
995 case 5: rTo.meFamily = FAMILY_DECORATIVE; break; in FetchFontMetric()
998 default: rTo.meFamilyType = FAMILY_DONTKNOW; break; in FetchFontMetric()
1009 case 8: rTo.mePitch = PITCH_VARIABLE; break; in FetchFontMetric()
1010 case 9: rTo.mePitch = PITCH_FIXED; break; in FetchFontMetric()
1014 default: rTo.mePitch = PITCH_DONTKNOW; break; in FetchFontMetric()
1025 rTo.mnAscent = (long)( +pOS2->usWinAscent * fScale + 0.5 ); in FetchFontMetric()
1026 rTo.mnDescent = (long)( +nDescent * fScale + 0.5 ); in FetchFontMetric()
1027rTo.mnIntLeading = (long)( (+pOS2->usWinAscent + pOS2->usWinDescent - maFaceFT->units_per_EM) *… in FetchFontMetric()
1029 rTo.mnExtLeading = 0; in FetchFontMetric()
1036 rTo.mnExtLeading = (long)(nExtLeading * fScale + 0.5); in FetchFontMetric()
1046 rTo.mnIntLeading += rTo.mnExtLeading; in FetchFontMetric()
1051 const long nHalfTmpExtLeading = rTo.mnExtLeading / 2; in FetchFontMetric()
1052 const long nOtherHalfTmpExtLeading = rTo.mnExtLeading - in FetchFontMetric()
1057 const long nCJKExtLeading = (long)(0.30 * (rTo.mnAscent + rTo.mnDescent)); in FetchFontMetric()
1059 if ( nCJKExtLeading > rTo.mnExtLeading ) in FetchFontMetric()
1060 rTo.mnExtLeading = nCJKExtLeading - rTo.mnExtLeading; in FetchFontMetric()
1062 rTo.mnExtLeading = 0; in FetchFontMetric()
1064 rTo.mnAscent += nHalfTmpExtLeading; in FetchFontMetric()
1065 rTo.mnDescent += nOtherHalfTmpExtLeading; in FetchFontMetric()
1071 rTo.mnMinKashida = rTo.mnAscent / 4; // a reasonable default in FetchFontMetric()
1077 rTo.mnMinKashida = aGlyphData.GetMetric().GetCharWidth(); in FetchFontMetric()