From dbd4c06036f42d8dffe033ba112d6d7085dfe475 Mon Sep 17 00:00:00 2001 From: Bo Xu Date: Thu, 29 May 2014 11:32:56 -0700 Subject: In linux and mac, use Arial to replace Tahoma for displaying east europe characters BUG= Review URL: https://codereview.chromium.org/301263002 --- fpdfsdk/src/pdfwindow/PWL_FontMap.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fpdfsdk/src') 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 } }; -- cgit v1.2.3