mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 22:21:18 +02:00
- fix for about screen (avoid using Vera font seems buggy)
This commit is contained in:
@@ -36,7 +36,7 @@ int Font::charCount = 256;
|
||||
std::string Font::fontTypeName = "Times New Roman";
|
||||
bool Font::fontIsMultibyte = false;
|
||||
bool Font::forceLegacyFonts = false;
|
||||
float FontMetrics::DEFAULT_Y_OFFSET_FACTOR = 0.0f;
|
||||
float FontMetrics::DEFAULT_Y_OFFSET_FACTOR = 2.0f;
|
||||
bool Font::fontIsRightToLeft = false;
|
||||
float Font::scaleFontValue = 0.75;
|
||||
//int Font::scaleFontYOffset = 0;
|
||||
|
@@ -408,9 +408,14 @@ void TextRenderer3DGl::specialFTGLErrorCheckWorkaround(string text) {
|
||||
if(error) {
|
||||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf("\n\nIn [%s::%s Line: %d] error = %d for text [%s]\n\n",__FILE__,__FUNCTION__,__LINE__,error,text.c_str());
|
||||
|
||||
if(currentFTGLErrorCount > 0) {
|
||||
printf("error = %d for text [%s]\n",error,text.c_str());
|
||||
assertGlWithErrorNumber(error);
|
||||
if(currentFTGLErrorCount > 5) {
|
||||
printf("\n**FTGL Error = %d for text [%s] currentFTGLErrorCount = %d\n\n",error,text.c_str(),currentFTGLErrorCount);
|
||||
fflush(stdout);
|
||||
|
||||
//assertGlWithErrorNumber(error);
|
||||
}
|
||||
else {
|
||||
//printf("\n**FTGL #2 Error = %d for text [%s] currentFTGLErrorCount = %d\n\n",error,text.c_str(),currentFTGLErrorCount);
|
||||
}
|
||||
|
||||
currentFTGLErrorCount++;
|
||||
|
Reference in New Issue
Block a user