diff options
Diffstat (limited to 'engines/wintermute/Base/BFontTT.cpp')
-rw-r--r-- | engines/wintermute/Base/BFontTT.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/Base/BFontTT.cpp b/engines/wintermute/Base/BFontTT.cpp index 85c2bee334..2ec1f5031b 100644 --- a/engines/wintermute/Base/BFontTT.cpp +++ b/engines/wintermute/Base/BFontTT.cpp @@ -876,9 +876,10 @@ void CBFontTT::MeasureText(const WideString &text, int maxWidth, int maxHeight, //////////////////////////////////////////////////////////////////////////
float CBFontTT::GetKerning(wchar_t leftChar, wchar_t rightChar) {
+#if 0
GlyphInfo *infoLeft = _glyphCache->GetGlyph(leftChar);
GlyphInfo *infoRight = _glyphCache->GetGlyph(rightChar);
-#if 0
+
if (!infoLeft || !infoRight) return 0;
FT_Vector delta;
|