summaryrefslogtreecommitdiffstats
path: root/include/vcl/fontmanager.hxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-05-16 19:06:26 +0200
committerTor Lillqvist <tml@collabora.com>2013-10-21 07:20:38 +0000
commit70d74e2ab1b08b3f21cbaff5e60c091694863b59 (patch)
treebb361c6a89a40be73c2ff6e83480c76ef8edb8fe /include/vcl/fontmanager.hxx
parentDrop support for non-Unicode fonts (diff)
downloadcore-70d74e2ab1b08b3f21cbaff5e60c091694863b59.tar.gz
core-70d74e2ab1b08b3f21cbaff5e60c091694863b59.zip
Removed unused kerning stuff
Kerning is just another font feature and is already handled by the layout engine, there is nothing special about it. Non of this seems to be used anywhere, anyway. Change-Id: Ia40c66ec186d11ab46d5d5256b09307a319318c0 Reviewed-on: https://gerrit.libreoffice.org/6259 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'include/vcl/fontmanager.hxx')
-rw-r--r--include/vcl/fontmanager.hxx17
1 files changed, 1 insertions, 16 deletions
diff --git a/include/vcl/fontmanager.hxx b/include/vcl/fontmanager.hxx
index 2cc0ac97a3ef..a0196d14fbab 100644
--- a/include/vcl/fontmanager.hxx
+++ b/include/vcl/fontmanager.hxx
@@ -129,14 +129,6 @@ struct CharacterMetric
{ return rOther.width != width || rOther.height != height; }
};
-struct KernPair
-{
- sal_Unicode first, second;
- short int kern_x, kern_y;
-
- KernPair() : first( 0 ), second( 0 ), kern_x( 0 ), kern_y( 0 ) {}
-};
-
class FontCache;
// a class to manage printable fonts
@@ -175,12 +167,9 @@ class VCL_PLUGIN_PUBLIC PrintFontManager
// a single pass, then all bits should be set
char m_aPages[32];
- bool m_bKernPairsQueried;
- std::list< KernPair > m_aXKernPairs;
- std::list< KernPair > m_aYKernPairs;
boost::unordered_map< sal_Unicode, bool > m_bVerticalSubstitutions;
- PrintFontMetrics() : m_bKernPairsQueried( false ) {}
+ PrintFontMetrics() {}
bool isEmpty() const { return m_aMetrics.empty(); }
};
@@ -471,10 +460,6 @@ public:
// the encoding vector contains -1 for non encoded glyphs
const std::map< sal_Unicode, sal_Int32 >* getEncodingMap( fontID nFontID, const std::map< sal_Unicode, OString >** ppNonEncoded ) const;
- // to get font substitution transparently use the
- // getKernPairs method of PrinterGfx
- const std::list< KernPair >& getKernPairs( fontID nFontID, bool bVertical = false ) const;
-
// evaluates copyright flags for TrueType fonts for printing/viewing
// type1 fonts do not have such a feature, so return for them is true
// returns true for builtin fonts (surprise!)