fix for Mac osX

This commit is contained in:
Mark Vejvoda 2011-11-29 10:16:29 +00:00
parent 92ec24ea76
commit 156cc39311

View File

@ -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;