got ftgl raster fonts working when ini setting is:

Enable3DFontRendering=false and NOT running legacy font mode
This commit is contained in:
Mark Vejvoda
2011-11-02 00:17:57 +00:00
parent 3dfd316484
commit bcc97704b6
3 changed files with 7 additions and 1 deletions

View File

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