mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
- bugfix for y centering of font for different fonts / languages
This commit is contained in:
@@ -66,6 +66,7 @@ public:
|
||||
static bool forceLegacyFonts;
|
||||
static bool fontIsRightToLeft;
|
||||
static float scaleFontValue;
|
||||
//static int scaleFontYOffset;
|
||||
|
||||
public:
|
||||
enum Width {
|
||||
|
@@ -36,9 +36,10 @@ 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 = 8.0f;
|
||||
float FontMetrics::DEFAULT_Y_OFFSET_FACTOR = 0.0f;
|
||||
bool Font::fontIsRightToLeft = false;
|
||||
float Font::scaleFontValue = 0.65;
|
||||
float Font::scaleFontValue = 0.75;
|
||||
//int Font::scaleFontYOffset = 0;
|
||||
//
|
||||
|
||||
// =====================================================
|
||||
|
Reference in New Issue
Block a user