mirror of
https://github.com/glest/glest-source.git
synced 2025-09-29 08:59:01 +02:00
got ftgl raster fonts working when ini setting is:
Enable3DFontRendering=false and NOT running legacy font mode
This commit is contained in:
@@ -132,6 +132,7 @@ float FontMetrics::getTextWidth(const string &str) {
|
||||
|
||||
float FontMetrics::getHeight() const {
|
||||
if(textHandler != NULL) {
|
||||
//printf("(textHandler->LineHeight(" ") = %f Font::scaleFontValue = %f\n",textHandler->LineHeight(" "),Font::scaleFontValue);
|
||||
return (textHandler->LineHeight(" ") * Font::scaleFontValue);
|
||||
}
|
||||
else {
|
||||
|
Reference in New Issue
Block a user