Index: core/src/fxge/ge/fx_ge_linux.cpp |
diff --git a/core/src/fxge/ge/fx_ge_linux.cpp b/core/src/fxge/ge/fx_ge_linux.cpp |
index ad0a70ab1ff91f12561ccd2b66a567f2ed12e924..af2dc4a14b8f228a34e654f055a0a7487e9e3663 100644 |
--- a/core/src/fxge/ge/fx_ge_linux.cpp |
+++ b/core/src/fxge/ge/fx_ge_linux.cpp |
@@ -163,6 +163,7 @@ static FX_INT32 _LinuxGetSimilarValue(int weight, FX_BOOL bItalic, int pitch_fam |
if ((style & FXFONT_BOLD) == (weight > 400)) { |
iSimilarValue += 16; |
} |
+ // TODO(tsepez): File BUG since 0x40 & x is never 1, for instance. |
if ((style & FXFONT_ITALIC) == bItalic) { |
jun_fang
2015/01/17 00:39:17
it shall be changed to if ((style & FXFONT_ITALIC)
|
iSimilarValue += 16; |
} |