summaryrefslogtreecommitdiff
path: root/splash/SplashFTFontEngine.h
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2009-10-06 00:41:57 +0200
committerAlbert Astals Cid <aacid@kde.org>2009-10-06 00:41:57 +0200
commit485252844b5e0964ee724b74e2a7ba2b820b259e (patch)
tree09b875be69084a1beeddefa711af63078fc57c0e /splash/SplashFTFontEngine.h
parent8194c156cf2167834779e1690a89b5068baf8d58 (diff)
rework how hinting is used in the splash backend
Basically we default to no hinting now with the possibility to enable it
Diffstat (limited to 'splash/SplashFTFontEngine.h')
-rw-r--r--splash/SplashFTFontEngine.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/splash/SplashFTFontEngine.h b/splash/SplashFTFontEngine.h
index 2d4699c4..5acb415f 100644
--- a/splash/SplashFTFontEngine.h
+++ b/splash/SplashFTFontEngine.h
@@ -13,6 +13,7 @@
//
// Copyright (C) 2006 Takashi Iwai <tiwai@suse.de>
// Copyright (C) 2009 Petr Gajdos <pgajdos@novell.com>
+// Copyright (C) 2009 Albert Astals Cid <aacid@kde.org>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
@@ -43,7 +44,7 @@ class SplashFontSrc;
class SplashFTFontEngine {
public:
- static SplashFTFontEngine *init(GBool aaA, GBool noahA);
+ static SplashFTFontEngine *init(GBool aaA, GBool enableFreeTypeHintingA);
~SplashFTFontEngine();
@@ -58,10 +59,10 @@ public:
private:
- SplashFTFontEngine(GBool aaA, GBool noahA, FT_Library libA);
+ SplashFTFontEngine(GBool aaA, GBool enableFreeTypeHintingA, FT_Library libA);
GBool aa;
- GBool noah;
+ GBool enableFreeTypeHinting;
FT_Library lib;
GBool useCIDs;