summaryrefslogtreecommitdiff
path: root/psprint/inc
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2001-06-26 18:25:20 +0000
committerPhilipp Lohmann <pl@openoffice.org>2001-06-26 18:25:20 +0000
commit5c181f18afe4347e35e6c21f5432f641e22d0777 (patch)
treef47dfc9475619b2b131d6ce496d113975847444f /psprint/inc
parent0c0195f8c70940a2fef1a09f73285060f1413c69 (diff)
#85520# cache ttc files in fonts.dir also
Diffstat (limited to 'psprint/inc')
-rw-r--r--psprint/inc/psprint/fontmanager.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/psprint/inc/psprint/fontmanager.hxx b/psprint/inc/psprint/fontmanager.hxx
index c80554817140..7ac409af5b04 100644
--- a/psprint/inc/psprint/fontmanager.hxx
+++ b/psprint/inc/psprint/fontmanager.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fontmanager.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: pl $ $Date: 2001-06-25 14:40:23 $
+ * last change: $Author: pl $ $Date: 2001-06-26 19:25:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -344,7 +344,7 @@ class PrintFontManager
void getFontAttributesFromXLFD( PrintFont* pFont, const ByteString& rXLFD ) const;
- bool analyzeFontFile( int nDirID, const ::rtl::OString& rFileName, bool bReadFile, const ::rtl::OString& rXLFD, ::std::list< PrintFont* >& rNewFonts ) const;
+ bool analyzeFontFile( int nDirID, const ::rtl::OString& rFileName, bool bReadFile, const ::std::list< ::rtl::OString >& rXLFDs, ::std::list< PrintFont* >& rNewFonts ) const;
bool analyzeTrueTypeFile( PrintFont* pFont ) const;
// finds the FIRST id for this font file; there may be more
// for TrueType collections
@@ -554,6 +554,9 @@ public:
bool removeFonts( const ::std::list< fontID >& rFonts );
bool isPrivateFontFile( fontID ) const;
+
+ // returns false if there were not any
+ bool getAlternativeFamilyNames( fontID nFont, ::std::list< ::rtl::OUString >& rNames ) const;
};
} // namespace