Changed getVertical(..) so it uses the same coord scale as the getGlyph

This commit is contained in:
Robert Osfield
2011-10-03 14:57:39 +00:00
parent 951a437c0c
commit 78ad56f76c

View File

@@ -554,7 +554,7 @@ bool FreeTypeFont::hasVertical() const
bool FreeTypeFont::getVerticalSize(float & ascender, float & descender) const
{
OpenThreads::ScopedLock<OpenThreads::Mutex> lock(FreeTypeLibrary::instance()->getMutex());
#if 1
#if 0
if(_face->units_per_EM != 0)
{
float coord_scale = 1.0f/static_cast<float>(_face->units_per_EM);