summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2018-05-29 20:23:51 +0200
committerAlbert Astals Cid <aacid@kde.org>2018-05-29 20:23:51 +0200
commit943a465d7b76b26de83d2038226c72bcf619c29f (patch)
treefa3a26bff53655a89b749a43f9b5e72b19e2772c /splash
parentf821faa1795c1b25104d84e9f5a7e8ad218baa61 (diff)
SplashFTFont: Initialize textScale
fixes oss-fuzz/8616
Diffstat (limited to 'splash')
-rw-r--r--splash/SplashFTFont.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/splash/SplashFTFont.cc b/splash/SplashFTFont.cc
index 1f1c6ada..79b7fdd4 100644
--- a/splash/SplashFTFont.cc
+++ b/splash/SplashFTFont.cc
@@ -60,6 +60,7 @@ static int glyphPathCubicTo(const FT_Vector *ctrl1, const FT_Vector *ctrl2,
SplashFTFont::SplashFTFont(SplashFTFontFile *fontFileA, SplashCoord *matA,
SplashCoord *textMatA):
SplashFont(fontFileA, matA, textMatA, fontFileA->engine->aa),
+ textScale(0),
enableFreeTypeHinting(fontFileA->engine->enableFreeTypeHinting),
enableSlightHinting(fontFileA->engine->enableSlightHinting)
{