Lines Matching refs:rFont

193 WinMtfFontStyle::WinMtfFontStyle( LOGFONTW& rFont )  in WinMtfFontStyle()  argument
196 if ( ( rFont.lfCharSet == OEM_CHARSET ) || ( rFont.lfCharSet == DEFAULT_CHARSET ) ) in WinMtfFontStyle()
199 eCharSet = rtl_getTextEncodingFromWindowsCharset( rFont.lfCharSet ); in WinMtfFontStyle()
203 aFont.SetName( rFont.alfFaceName ); in WinMtfFontStyle()
205 switch ( rFont.lfPitchAndFamily & 0xf0 ) in WinMtfFontStyle()
234 switch ( rFont.lfPitchAndFamily & 0x0f ) in WinMtfFontStyle()
249 if( rFont.lfWeight <= FW_THIN ) in WinMtfFontStyle()
251 else if( rFont.lfWeight <= FW_ULTRALIGHT ) in WinMtfFontStyle()
253 else if( rFont.lfWeight <= FW_LIGHT ) in WinMtfFontStyle()
255 else if( rFont.lfWeight < FW_MEDIUM ) in WinMtfFontStyle()
257 else if( rFont.lfWeight == FW_MEDIUM ) in WinMtfFontStyle()
259 else if( rFont.lfWeight <= FW_SEMIBOLD ) in WinMtfFontStyle()
261 else if( rFont.lfWeight <= FW_BOLD ) in WinMtfFontStyle()
263 else if( rFont.lfWeight <= FW_ULTRABOLD ) in WinMtfFontStyle()
269 if( rFont.lfItalic ) in WinMtfFontStyle()
272 if( rFont.lfUnderline ) in WinMtfFontStyle()
275 if( rFont.lfStrikeOut ) in WinMtfFontStyle()
278 if ( rFont.lfOrientation ) in WinMtfFontStyle()
279 aFont.SetOrientation( (short)rFont.lfOrientation ); in WinMtfFontStyle()
281 aFont.SetOrientation( (short)rFont.lfEscapement ); in WinMtfFontStyle()
283 Size aFontSize( Size( rFont.lfWidth, rFont.lfHeight ) ); in WinMtfFontStyle()
284 if ( rFont.lfHeight > 0 ) in WinMtfFontStyle()
297 double fHeight = ((double)aFontSize.Height() * rFont.lfHeight ) / nHeight; in WinMtfFontStyle()
304 if ( !rFont.lfWidth ) in WinMtfFontStyle()
553 void WinMtfOutput::ImplMap( Font& rFont ) in ImplMap() argument
558 Size aFontSize = ImplMap ( rFont.GetSize() ); in ImplMap()
563 rFont.SetSize( aFontSize ); in ImplMap()
566 rFont.SetOrientation( 3600 - rFont.GetOrientation() ); in ImplMap()
685 void WinMtfOutput::SetFont( const Font& rFont ) in SetFont() argument
687 maFont = rFont; in SetFont()