summaryrefslogtreecommitdiff
path: root/psprint/inc
diff options
context:
space:
mode:
authorHerbert Duerr <hdu@openoffice.org>2001-12-21 15:31:36 +0000
committerHerbert Duerr <hdu@openoffice.org>2001-12-21 15:31:36 +0000
commitf33cb7b0b942c22e4a56b1c36eedb38d6ea8ef4d (patch)
treea9b22db96404a3beadd21ecce9dbd5d4ef9e5797 /psprint/inc
parent810e43524b6246fa5e03d13c1a488c958d559250 (diff)
#95966# get more details about vertical glyphs
Diffstat (limited to 'psprint/inc')
-rw-r--r--psprint/inc/psprint/fontmanager.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/psprint/inc/psprint/fontmanager.hxx b/psprint/inc/psprint/fontmanager.hxx
index d33489538d54..1c36bb04bfe6 100644
--- a/psprint/inc/psprint/fontmanager.hxx
+++ b/psprint/inc/psprint/fontmanager.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fontmanager.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: hdu $ $Date: 2001-11-30 12:24:14 $
+ * last change: $Author: hdu $ $Date: 2001-12-21 16:31:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -247,6 +247,7 @@ class PrintFontManager
bool m_bKernPairsQueried;
::std::list< KernPair > m_aXKernPairs;
::std::list< KernPair > m_aYKernPairs;
+ ::std::hash_map< sal_Unicode, bool > m_bVerticalSubstitutions;
PrintFontMetrics() : m_bKernPairsQueried( false ) {}
};
@@ -481,6 +482,10 @@ public:
// info whether there are vertical substitutions
bool hasVerticalSubstitutions( fontID nFontID ) const;
+ // info whether an array of glyphs has vertical substitutions
+ void hasVerticalSubstitutions( fontID nFontID, const sal_Unicode* pCharacters,
+ int nCharacters, bool* pHasSubst ) const;
+
// get the XLFD for a font that originated from the X fontpath
// note: this may not be the original line that was in the fonts.dir
// returns a string for every font, but only TrueType and Type1