Lines Matching refs:pFont
1390 const ImplFontSelectData* pFont, in ImplGetLogFontFromFontSelect() argument
1395 if ( pFont->mpFontData ) in ImplGetLogFontFromFontSelect()
1396 aName = pFont->mpFontData->maName; in ImplGetLogFontFromFontSelect()
1398 aName = pFont->maName.GetToken( 0 ); in ImplGetLogFontFromFontSelect()
1406 if( !pFont->mpFontData ) in ImplGetLogFontFromFontSelect()
1408 rLogFont.lfCharSet = pFont->IsSymbolFont() ? SYMBOL_CHARSET : DEFAULT_CHARSET; in ImplGetLogFontFromFontSelect()
1409 rLogFont.lfPitchAndFamily = ImplPitchToWin( pFont->mePitch ) in ImplGetLogFontFromFontSelect()
1410 | ImplFamilyToWin( pFont->meFamily ); in ImplGetLogFontFromFontSelect()
1414 … const ImplWinFontData* pWinFontData = static_cast<const ImplWinFontData*>( pFont->mpFontData ); 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()
1424 rLogFont.lfItalic = (pFont->meItalic) != ITALIC_NONE; in ImplGetLogFontFromFontSelect()
1425 rLogFont.lfEscapement = pFont->mnOrientation; in ImplGetLogFontFromFontSelect()
1430 if ( pFont->mnOrientation ) in ImplGetLogFontFromFontSelect()
1434 if ( pFont->mbNonAntialiased ) in ImplGetLogFontFromFontSelect()
1438 if( pFont->mbVertical && nNameLen ) in ImplGetLogFontFromFontSelect()
1463 const ImplFontSelectData* pFont, in ImplGetLogFontFromFontSelect() argument
1468 if( pFont->mpFontData ) in ImplGetLogFontFromFontSelect()
1469 aName = ImplSalGetWinAnsiString( pFont->mpFontData->maName ); in ImplGetLogFontFromFontSelect()
1471 aName = ImplSalGetWinAnsiString( pFont->maName.GetToken( 0 ) ); in ImplGetLogFontFromFontSelect()
1480 if( !pFont->mpFontData ) in ImplGetLogFontFromFontSelect()
1482 rLogFont.lfCharSet = pFont->IsSymbolFont() ? SYMBOL_CHARSET : DEFAULT_CHARSET; in ImplGetLogFontFromFontSelect()
1483 rLogFont.lfPitchAndFamily = ImplPitchToWin( pFont->mePitch ) in ImplGetLogFontFromFontSelect()
1484 | ImplFamilyToWin( pFont->meFamily ); in ImplGetLogFontFromFontSelect()
1488 … const ImplWinFontData* pWinFontData = static_cast<const ImplWinFontData*>( pFont->mpFontData ); 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()
1498 rLogFont.lfItalic = (pFont->meItalic) != ITALIC_NONE; in ImplGetLogFontFromFontSelect()
1499 rLogFont.lfEscapement = pFont->mnOrientation; in ImplGetLogFontFromFontSelect()
1504 if( pFont->mnOrientation ) in ImplGetLogFontFromFontSelect()
1508 if( pFont->mbNonAntialiased ) in ImplGetLogFontFromFontSelect()
1512 if( pFont->mbVertical && nNameLen ) in ImplGetLogFontFromFontSelect()
1612 sal_uInt16 WinSalGraphics::SetFont( ImplFontSelectData* pFont, int nFallbackLevel ) in SetFont() argument
1615 if( !pFont ) in SetFont()
1631 DBG_ASSERT( pFont->mpFontData, "WinSalGraphics mpFontData==NULL"); in SetFont()
1632 mpWinFontEntry[ nFallbackLevel ] = reinterpret_cast<ImplWinFontEntry*>( pFont->mpFontEntry ); in SetFont()
1633 mpWinFontData[ nFallbackLevel ] = static_cast<const ImplWinFontData*>( pFont->mpFontData ); in SetFont()
1636 HFONT hNewFont = ImplDoSetFont( pFont, mfFontScale, hOldFont ); in SetFont()
2704 const ImplFontData* pFont, sal_GlyphId* pGlyphIds, sal_uInt8* pEncoding, in CreateFontSubset() argument
2712 ImplFontSelectData aIFSD( *pFont, Size(0,1000), 1000.0, 0, false ); in CreateFontSubset()
2813 if( (aGlyphId == 0) && pFont->IsSymbolFont() ) in CreateFontSubset()
2860 const void* WinSalGraphics::GetEmbedFontData( const ImplFontData* pFont, in GetEmbedFontData() argument
2866 ImplFontSelectData aIFSD( *pFont, Size(0,1000), 1000.0, 0, false ); in GetEmbedFontData()
2924 const Ucs2SIntMap* WinSalGraphics::GetFontEncodingVector( const ImplFontData* pFont, const Ucs2OStr… in GetFontEncodingVector() argument
2927 if( !pFont->IsEmbeddable() ) in GetFontEncodingVector()
2935 const ImplWinFontData* pWinFontData = static_cast<const ImplWinFontData*>(pFont); in GetFontEncodingVector()
2958 void WinSalGraphics::GetGlyphWidths( const ImplFontData* pFont, in GetGlyphWidths() argument
2965 ImplFontSelectData aIFSD( *pFont, Size(0,1000), 1000.0, 0, false ); in GetGlyphWidths()
2974 if( pFont->IsSubsettable() ) in GetGlyphWidths()
3009 const ImplWinFontData* pWinFont = static_cast<const ImplWinFontData*>(pFont); in GetGlyphWidths()
3032 else if( pFont->IsEmbeddable() ) in GetGlyphWidths()