Lines Matching refs:pFont
346 PrintFontManager::PrintFont* pFont = NULL; in read() local
350 pFont = new PrintFontManager::TrueTypeFontFile(); in read()
353 pFont = new PrintFontManager::Type1FontFile(); in read()
356 pFont = new PrintFontManager::BuiltinFont(); in read()
364 pFont->m_nFamilyName = pAtoms->getAtom( ATOM_FAMILYNAME, in read()
375 … pFont->m_aAliases.push_back( pAtoms->getAtom( ATOM_FAMILYNAME, aAlias, sal_True ) ); in read()
398 delete pFont; in read()
402 …pFont->m_nPSName = pAtoms->getAtom( ATOM_PSNAME, OUString( pLine + nTokenPos[1], nTokenPos[2]-n… in read()
403 pFont->m_eItalic = (italic::type)atoi( pLine+nTokenPos[2] ); in read()
404 pFont->m_eWeight = (weight::type)atoi( pLine+nTokenPos[3] ); in read()
405 pFont->m_eWidth = (width::type)atoi( pLine+nTokenPos[4] ); in read()
406 pFont->m_ePitch = (pitch::type)atoi( pLine+nTokenPos[5] ); in read()
407 pFont->m_aEncoding = (rtl_TextEncoding)atoi( pLine+nTokenPos[6] ); in read()
408 pFont->m_nAscend = atoi( pLine + nTokenPos[7] ); in read()
409 pFont->m_nDescend = atoi( pLine + nTokenPos[8] ); in read()
410 pFont->m_nLeading = atoi( pLine + nTokenPos[9] ); in read()
411 pFont->m_bHaveVerticalSubstitutedGlyphs in read()
413 pFont->m_aGlobalMetricX.width in read()
415 pFont->m_aGlobalMetricX.height in read()
417 pFont->m_aGlobalMetricY.width in read()
419 pFont->m_aGlobalMetricY.height in read()
421 pFont->m_bUserOverride in read()
427 …static_cast<PrintFontManager::TrueTypeFontFile*>(pFont)->m_nTypeFlags = atoi( pLine + nTokenPos[18… in read()
428 … static_cast<PrintFontManager::TrueTypeFontFile*>(pFont)->m_nCollectionEntry = nCollEntry; in read()
429 … static_cast<PrintFontManager::TrueTypeFontFile*>(pFont)->m_nDirectory = nDir; in read()
430 … static_cast<PrintFontManager::TrueTypeFontFile*>(pFont)->m_aFontFile = aFile; in read()
436 …static_cast<PrintFontManager::Type1FontFile*>(pFont)->m_aMetricFile = OString( pLine + nTokenPos[1… in read()
437 static_cast<PrintFontManager::Type1FontFile*>(pFont)->m_nDirectory = nDir; in read()
438 static_cast<PrintFontManager::Type1FontFile*>(pFont)->m_aFontFile = aFile; in read()
443 static_cast<PrintFontManager::BuiltinFont*>(pFont)->m_nDirectory = nDir; in read()
444 static_cast<PrintFontManager::BuiltinFont*>(pFont)->m_aMetricFile = aFile; in read()
449 pFont->m_aStyleName = OUString::intern( pLine + nTokenPos[nStyleTokenNr], in read()
456 if( pFont->m_bUserOverride ) in read()
483 delete pFont; in read()
488 rEntry.push_back( pFont ); in read()
631 PrintFontManager::PrintFont* pFont = NULL; in clonePrintFont() local
635 pFont = new PrintFontManager::TrueTypeFontFile(); in clonePrintFont()
638 pFont = new PrintFontManager::Type1FontFile(); in clonePrintFont()
641 pFont = new PrintFontManager::BuiltinFont(); in clonePrintFont()
645 if( pFont ) in clonePrintFont()
647 copyPrintFont( pOldFont, pFont ); in clonePrintFont()
649 return pFont; in clonePrintFont()
668 PrintFontManager::PrintFont* pFont = clonePrintFont( *font ); in getFontCacheFile() local
669 rNewFonts.push_back( pFont ); in getFontCacheFile()
679 void FontCache::updateFontCacheEntry( const PrintFontManager::PrintFont* pFont, bool bFlush ) in updateFontCacheEntry() argument
685 switch( pFont->m_eType ) in updateFontCacheEntry()
688 nDirID = static_cast<const PrintFontManager::TrueTypeFontFile*>(pFont)->m_nDirectory; in updateFontCacheEntry()
689 aFile = static_cast<const PrintFontManager::TrueTypeFontFile*>(pFont)->m_aFontFile; in updateFontCacheEntry()
692 nDirID = static_cast<const PrintFontManager::Type1FontFile*>(pFont)->m_nDirectory; in updateFontCacheEntry()
693 aFile = static_cast<const PrintFontManager::Type1FontFile*>(pFont)->m_aFontFile; in updateFontCacheEntry()
696 nDirID = static_cast<const PrintFontManager::BuiltinFont*>(pFont)->m_nDirectory; in updateFontCacheEntry()
697 aFile = static_cast<const PrintFontManager::BuiltinFont*>(pFont)->m_aMetricFile; in updateFontCacheEntry()
714 if( (*font)->m_eType == pFont->m_eType && in updateFontCacheEntry()
716 …CollectionEntry == static_cast<const PrintFontManager::TrueTypeFontFile*>(pFont)->m_nCollectionEnt… in updateFontCacheEntry()
729 if( ! equalsPrintFont( pFont, pCacheFont ) ) in updateFontCacheEntry()
731 copyPrintFont( pFont, pCacheFont ); in updateFontCacheEntry()
737 pCacheFont = clonePrintFont( pFont ); in updateFontCacheEntry()
765 PrintFontManager::PrintFont* pFont = clonePrintFont( *font ); in listDirectory() local
766 rNewFonts.push_back( pFont ); in listDirectory()