From 78ad56f76cf5d59f2f4216ba52a84a4bcca1e714 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 3 Oct 2011 14:57:39 +0000 Subject: [PATCH] Changed getVertical(..) so it uses the same coord scale as the getGlyph --- src/osgPlugins/freetype/FreeTypeFont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/freetype/FreeTypeFont.cpp b/src/osgPlugins/freetype/FreeTypeFont.cpp index a4fb749af..44d8f362d 100644 --- a/src/osgPlugins/freetype/FreeTypeFont.cpp +++ b/src/osgPlugins/freetype/FreeTypeFont.cpp @@ -554,7 +554,7 @@ bool FreeTypeFont::hasVertical() const bool FreeTypeFont::getVerticalSize(float & ascender, float & descender) const { OpenThreads::ScopedLock lock(FreeTypeLibrary::instance()->getMutex()); -#if 1 +#if 0 if(_face->units_per_EM != 0) { float coord_scale = 1.0f/static_cast(_face->units_per_EM);