From 156cc39311c54005f230ba7c9de7dddf56eb117f Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 29 Nov 2011 10:16:29 +0000 Subject: [PATCH] fix for Mac osX --- source/shared_lib/sources/platform/macosx/gl_wrap.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/platform/macosx/gl_wrap.mm b/source/shared_lib/sources/platform/macosx/gl_wrap.mm index f7babc75..b4a54f43 100644 --- a/source/shared_lib/sources/platform/macosx/gl_wrap.mm +++ b/source/shared_lib/sources/platform/macosx/gl_wrap.mm @@ -143,7 +143,7 @@ BOOL makeGLDisplayListFirst(unichar first, int count, GLint base, NSFont *font, theImage = [ [ [ NSImage alloc ] initWithSize:NSMakeSize( 0, 0 ) ] autorelease ]; retval = TRUE; - float fontHeight = metrics.getHeight(); + float fontHeight = metrics.getHeight("W"); float dy; for( dListNum = base, currentUnichar = first; currentUnichar < first + count;