diff options
author | Bo Xu <bo_xu@foxitsoftware.com> | 2014-05-29 11:32:56 -0700 |
---|---|---|
committer | Bo Xu <bo_xu@foxitsoftware.com> | 2014-05-29 11:32:56 -0700 |
commit | dbd4c06036f42d8dffe033ba112d6d7085dfe475 (patch) | |
tree | 57e5b019926f7da7349e8d0b980cce0deb098c01 /fpdfsdk | |
parent | 64ab40e11267c5d6ecc691072c3427c369ef26ec (diff) | |
download | pdfium-dbd4c06036f42d8dffe033ba112d6d7085dfe475.tar.xz |
In linux and mac, use Arial to replace Tahoma for displaying east europe characterschromium/2033chromium/2032chromium/2031chromium/2030chromium/2029chromium/2028chromium/2027chromium/2026chromium/2025chromium/2024chromium/2023
BUG=
Review URL: https://codereview.chromium.org/301263002
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_FontMap.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp b/fpdfsdk/src/pdfwindow/PWL_FontMap.cpp index c656f0c15e..b5f50022f1 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 } }; |