Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: core/src/fxge/ge/fx_ge_linux.cpp

Issue 818363006: fix a few linux compilation warnings (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Restore origina cmslut.c Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698