Lines 395-400
Link Here
|
395 |
std::hash_map< fontID, PrintFont* > m_aFonts; |
395 |
std::hash_map< fontID, PrintFont* > m_aFonts; |
396 |
std::hash_map< int, family::type > m_aFamilyTypes; |
396 |
std::hash_map< int, family::type > m_aFamilyTypes; |
397 |
std::hash_map< int, int > m_aFamilyStyles; |
397 |
std::hash_map< int, int > m_aFamilyStyles; |
|
|
398 |
std::list< fontID > m_aArtificialFonts; |
398 |
std::list< rtl::OUString > m_aPrinterDrivers; |
399 |
std::list< rtl::OUString > m_aPrinterDrivers; |
399 |
std::list< rtl::OString > m_aFontDirectories; |
400 |
std::list< rtl::OString > m_aFontDirectories; |
400 |
std::list< int > m_aPrivateFontDirectories; |
401 |
std::list< int > m_aPrivateFontDirectories; |
Lines 497-502
Link Here
|
497 |
// get the font list and fast font info. see getFontList for pParser |
498 |
// get the font list and fast font info. see getFontList for pParser |
498 |
void getFontListWithFastInfo( std::list< FastPrintFontInfo >& rFonts, const PPDParser* pParser = NULL ) const; |
499 |
void getFontListWithFastInfo( std::list< FastPrintFontInfo >& rFonts, const PPDParser* pParser = NULL ) const; |
499 |
|
500 |
|
|
|
501 |
// true if the font is an artificial one |
502 |
bool isArtificial( fontID nFontID ) |
503 |
{ |
504 |
bool result = false; |
505 |
::std::list<int>::const_iterator it = m_aArtificialFonts.begin(); |
506 |
for ( ; it != m_aArtificialFonts.end(); ++it ) |
507 |
{ |
508 |
if ( *it == nFontID ) |
509 |
{ |
510 |
result = true;; |
511 |
break; |
512 |
} |
513 |
} |
514 |
return result; |
515 |
} |
500 |
// get font info for a specific font |
516 |
// get font info for a specific font |
501 |
bool getFontInfo( fontID nFontID, PrintFontInfo& rInfo ) const; |
517 |
bool getFontInfo( fontID nFontID, PrintFontInfo& rInfo ) const; |
502 |
// get fast font info for a specific font |
518 |
// get fast font info for a specific font |