Lines Matching refs:rLogFont

836     const LOGFONTA rLogFont = rEnumFont.elfLogFont;  in WinFont2DevFontAttributes()  local
839 aDFA.meFamily = ImplFamilyToSal( rLogFont.lfPitchAndFamily ); in WinFont2DevFontAttributes()
841 aDFA.meWeight = ImplWeightToSal( rLogFont.lfWeight ); in WinFont2DevFontAttributes()
842 aDFA.meItalic = (rLogFont.lfItalic) ? ITALIC_NORMAL : ITALIC_NONE; in WinFont2DevFontAttributes()
843 aDFA.mePitch = ImplLogPitchToSal( rLogFont.lfPitchAndFamily ); in WinFont2DevFontAttributes()
844 aDFA.mbSymbolFlag = (rLogFont.lfCharSet == SYMBOL_CHARSET); in WinFont2DevFontAttributes()
847 aDFA.maName = ImplSalGetUniString( rLogFont.lfFaceName ); in WinFont2DevFontAttributes()
911 const LOGFONTW rLogFont = rEnumFont.elfLogFont; in WinFont2DevFontAttributes() local
914 aDFA.meFamily = ImplFamilyToSal( rLogFont.lfPitchAndFamily ); in WinFont2DevFontAttributes()
916 aDFA.meWeight = ImplWeightToSal( rLogFont.lfWeight ); in WinFont2DevFontAttributes()
917 aDFA.meItalic = (rLogFont.lfItalic) ? ITALIC_NORMAL : ITALIC_NONE; in WinFont2DevFontAttributes()
918 aDFA.mePitch = ImplLogPitchToSal( rLogFont.lfPitchAndFamily ); in WinFont2DevFontAttributes()
919 aDFA.mbSymbolFlag = (rLogFont.lfCharSet == SYMBOL_CHARSET); in WinFont2DevFontAttributes()
922 aDFA.maName = reinterpret_cast<const sal_Unicode*>(rLogFont.lfFaceName); in WinFont2DevFontAttributes()
1019 void ImplSalLogFontToFontA( HDC hDC, const LOGFONTA& rLogFont, Font& rFont ) in ImplSalLogFontToFontA() argument
1021 String aFontName( ImplSalGetUniString( rLogFont.lfFaceName ) ); in ImplSalLogFontToFontA()
1025 rFont.SetCharSet( ImplCharSetToSal( rLogFont.lfCharSet ) ); in ImplSalLogFontToFontA()
1026 rFont.SetFamily( ImplFamilyToSal( rLogFont.lfPitchAndFamily ) ); in ImplSalLogFontToFontA()
1027 rFont.SetPitch( ImplLogPitchToSal( rLogFont.lfPitchAndFamily ) ); in ImplSalLogFontToFontA()
1028 rFont.SetWeight( ImplWeightToSal( rLogFont.lfWeight ) ); in ImplSalLogFontToFontA()
1030 long nFontHeight = rLogFont.lfHeight; in ImplSalLogFontToFontA()
1040 rFont.SetOrientation( (short)rLogFont.lfEscapement ); in ImplSalLogFontToFontA()
1041 if ( rLogFont.lfItalic ) in ImplSalLogFontToFontA()
1045 if ( rLogFont.lfUnderline ) in ImplSalLogFontToFontA()
1049 if ( rLogFont.lfStrikeOut ) in ImplSalLogFontToFontA()
1058 void ImplSalLogFontToFontW( HDC hDC, const LOGFONTW& rLogFont, Font& rFont ) in ImplSalLogFontToFontW() argument
1060 XubString aFontName( reinterpret_cast<const xub_Unicode*>(rLogFont.lfFaceName) ); in ImplSalLogFontToFontW()
1064 rFont.SetCharSet( ImplCharSetToSal( rLogFont.lfCharSet ) ); in ImplSalLogFontToFontW()
1065 rFont.SetFamily( ImplFamilyToSal( rLogFont.lfPitchAndFamily ) ); in ImplSalLogFontToFontW()
1066 rFont.SetPitch( ImplLogPitchToSal( rLogFont.lfPitchAndFamily ) ); in ImplSalLogFontToFontW()
1067 rFont.SetWeight( ImplWeightToSal( rLogFont.lfWeight ) ); in ImplSalLogFontToFontW()
1069 long nFontHeight = rLogFont.lfHeight; in ImplSalLogFontToFontW()
1079 rFont.SetOrientation( (short)rLogFont.lfEscapement ); in ImplSalLogFontToFontW()
1080 if ( rLogFont.lfItalic ) in ImplSalLogFontToFontW()
1084 if ( rLogFont.lfUnderline ) in ImplSalLogFontToFontW()
1088 if ( rLogFont.lfStrikeOut ) in ImplSalLogFontToFontW()
1391 LOGFONTW& rLogFont, in ImplGetLogFontFromFontSelect() argument
1401 if ( nNameLen > (sizeof( rLogFont.lfFaceName )/sizeof( wchar_t ))-1 ) in ImplGetLogFontFromFontSelect()
1402 nNameLen = (sizeof( rLogFont.lfFaceName )/sizeof( wchar_t ))-1; in ImplGetLogFontFromFontSelect()
1403 memcpy( rLogFont.lfFaceName, aName.GetBuffer(), nNameLen*sizeof( wchar_t ) ); in ImplGetLogFontFromFontSelect()
1404 rLogFont.lfFaceName[nNameLen] = 0; in ImplGetLogFontFromFontSelect()
1408 rLogFont.lfCharSet = pFont->IsSymbolFont() ? SYMBOL_CHARSET : DEFAULT_CHARSET; in ImplGetLogFontFromFontSelect()
1409 rLogFont.lfPitchAndFamily = ImplPitchToWin( pFont->mePitch ) in ImplGetLogFontFromFontSelect()
1415 rLogFont.lfCharSet = pWinFontData->GetCharSet(); in ImplGetLogFontFromFontSelect()
1416 rLogFont.lfPitchAndFamily = pWinFontData->GetPitchAndFamily(); in ImplGetLogFontFromFontSelect()
1419 rLogFont.lfWeight = ImplWeightToWin( pFont->meWeight ); in ImplGetLogFontFromFontSelect()
1420 rLogFont.lfHeight = (LONG)-pFont->mnHeight; in ImplGetLogFontFromFontSelect()
1421 rLogFont.lfWidth = (LONG)pFont->mnWidth; in ImplGetLogFontFromFontSelect()
1422 rLogFont.lfUnderline = 0; in ImplGetLogFontFromFontSelect()
1423 rLogFont.lfStrikeOut = 0; in ImplGetLogFontFromFontSelect()
1424 rLogFont.lfItalic = (pFont->meItalic) != ITALIC_NONE; in ImplGetLogFontFromFontSelect()
1425 rLogFont.lfEscapement = pFont->mnOrientation; in ImplGetLogFontFromFontSelect()
1426 rLogFont.lfOrientation = rLogFont.lfEscapement; in ImplGetLogFontFromFontSelect()
1427 rLogFont.lfClipPrecision = CLIP_DEFAULT_PRECIS; in ImplGetLogFontFromFontSelect()
1428 rLogFont.lfQuality = DEFAULT_QUALITY; in ImplGetLogFontFromFontSelect()
1429 rLogFont.lfOutPrecision = OUT_TT_PRECIS; in ImplGetLogFontFromFontSelect()
1431 rLogFont.lfClipPrecision |= CLIP_LH_ANGLES; in ImplGetLogFontFromFontSelect()
1435 rLogFont.lfQuality = NONANTIALIASED_QUALITY; in ImplGetLogFontFromFontSelect()
1441 memmove( &rLogFont.lfFaceName[1], &rLogFont.lfFaceName[0], in ImplGetLogFontFromFontSelect()
1442 sizeof(rLogFont.lfFaceName)-sizeof(rLogFont.lfFaceName[0]) ); in ImplGetLogFontFromFontSelect()
1443 rLogFont.lfFaceName[0] = '@'; in ImplGetLogFontFromFontSelect()
1447 EnumFontFamiliesExW( hDC, &rLogFont, (FONTENUMPROCW)SalEnumQueryFontProcExW, in ImplGetLogFontFromFontSelect()
1453 memcpy( &rLogFont.lfFaceName[0], aName.GetBuffer(), nNameLen*sizeof(wchar_t) ); in ImplGetLogFontFromFontSelect()
1455 rLogFont.lfFaceName[nNameLen] = '\0'; in ImplGetLogFontFromFontSelect()
1464 LOGFONTA& rLogFont, in ImplGetLogFontFromFontSelect() argument
1476 memcpy( rLogFont.lfFaceName, aName.GetBuffer(), nNameLen ); in ImplGetLogFontFromFontSelect()
1478 rLogFont.lfFaceName[nNameLen] = '\0'; in ImplGetLogFontFromFontSelect()
1482 rLogFont.lfCharSet = pFont->IsSymbolFont() ? SYMBOL_CHARSET : DEFAULT_CHARSET; in ImplGetLogFontFromFontSelect()
1483 rLogFont.lfPitchAndFamily = ImplPitchToWin( pFont->mePitch ) in ImplGetLogFontFromFontSelect()
1489 rLogFont.lfCharSet = pWinFontData->GetCharSet(); in ImplGetLogFontFromFontSelect()
1490 rLogFont.lfPitchAndFamily = pWinFontData->GetPitchAndFamily(); in ImplGetLogFontFromFontSelect()
1493 rLogFont.lfWeight = ImplWeightToWin( pFont->meWeight ); in ImplGetLogFontFromFontSelect()
1494 rLogFont.lfHeight = (LONG)-pFont->mnHeight; in ImplGetLogFontFromFontSelect()
1495 rLogFont.lfWidth = (LONG)pFont->mnWidth; in ImplGetLogFontFromFontSelect()
1496 rLogFont.lfUnderline = 0; in ImplGetLogFontFromFontSelect()
1497 rLogFont.lfStrikeOut = 0; in ImplGetLogFontFromFontSelect()
1498 rLogFont.lfItalic = (pFont->meItalic) != ITALIC_NONE; in ImplGetLogFontFromFontSelect()
1499 rLogFont.lfEscapement = pFont->mnOrientation; in ImplGetLogFontFromFontSelect()
1500 rLogFont.lfOrientation = rLogFont.lfEscapement; // ignored by W98 in ImplGetLogFontFromFontSelect()
1501 rLogFont.lfClipPrecision = CLIP_DEFAULT_PRECIS; in ImplGetLogFontFromFontSelect()
1502 rLogFont.lfQuality = DEFAULT_QUALITY; in ImplGetLogFontFromFontSelect()
1503 rLogFont.lfOutPrecision = OUT_TT_PRECIS; in ImplGetLogFontFromFontSelect()
1505 rLogFont.lfClipPrecision |= CLIP_LH_ANGLES; in ImplGetLogFontFromFontSelect()
1509 rLogFont.lfQuality = NONANTIALIASED_QUALITY; in ImplGetLogFontFromFontSelect()
1515 memmove( &rLogFont.lfFaceName[1], &rLogFont.lfFaceName[0], in ImplGetLogFontFromFontSelect()
1516 sizeof(rLogFont.lfFaceName)-sizeof(rLogFont.lfFaceName[0]) ); in ImplGetLogFontFromFontSelect()
1517 rLogFont.lfFaceName[0] = '@'; in ImplGetLogFontFromFontSelect()
1521 EnumFontFamiliesExA( hDC, &rLogFont, (FONTENUMPROCA)SalEnumQueryFontProcExA, in ImplGetLogFontFromFontSelect()
1527 memcpy( rLogFont.lfFaceName, aName.GetBuffer(), nNameLen ); in ImplGetLogFontFromFontSelect()
1529 rLogFont.lfFaceName[nNameLen] = '\0'; in ImplGetLogFontFromFontSelect()