From a77297ec57d4c8c003e9331cb2dbd9a8c0a3abed Mon Sep 17 00:00:00 2001 From: romashin Date: Sat, 19 Apr 2008 18:39:59 +0300 Subject: [PATCH] Enabled stuff for proper mMetrics.subscriptOffset mMetrics.superscriptOffset calculation --- gfx/thebes/src/gfxQtFonts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/thebes/src/gfxQtFonts.cpp b/gfx/thebes/src/gfxQtFonts.cpp index cb9939c95f7..ae61864b0df 100644 --- a/gfx/thebes/src/gfxQtFonts.cpp +++ b/gfx/thebes/src/gfxQtFonts.cpp @@ -449,7 +449,7 @@ gfxQtFont::GetMetrics() mMetrics.spaceWidth = fontMetrics.width( QChar(' ') ); mMetrics.xHeight = fontMetrics.xHeight(); -#if 0 +#if 1 FT_Face face = mQFont->freetypeFace(); if (face) { mMetrics.maxAdvance = face->size->metrics.max_advance / 64.0; // 26.6