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

Unified Diff: fpdfsdk/src/pdfwindow/PWL_FontMap.cpp

Issue 301263002: In linux and mac, use Arial to replace Tahoma for displaying east europe characters (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fpdfsdk/src/pdfwindow/PWL_FontMap.cpp
diff --git a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp
index c656f0c15edf65649d9414204d2ef87f4ec3e8ce..b5f50022f197b9f8a38516d6b4def3382730cb9b 100644
--- a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp
+++ b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp
@@ -508,7 +508,11 @@ const CPWL_FontMap::CharsetFontMap CPWL_FontMap::defaultTTFMap[] = {
{ SHIFTJIS_CHARSET, "MS Gothic" },
{ HANGUL_CHARSET, "Batang" },
{ RUSSIAN_CHARSET, "Arial" },
+#if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ || _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
+ { EASTEUROPE_CHARSET, "Arial" },
+#else
{ EASTEUROPE_CHARSET, "Tahoma" },
+#endif
{ ARABIC_CHARSET, "Arial" },
{ -1, NULL }
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698