aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_pdfium_core_fxge_fx__ge__linux.cpp
blob: 272bf7a50bf9d2b885eef57a9d415e2de9beb044 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- third_party/pdfium/core/fxge/fx_ge_linux.cpp.orig	2020-03-16 18:42:12 UTC
+++ third_party/pdfium/core/fxge/fx_ge_linux.cpp
@@ -155,9 +155,8 @@ std::unique_ptr<SystemFontInfoIface> SystemFontInfoIfa
     const char** pUserPaths) {
   auto pInfo = pdfium::MakeUnique<CFX_LinuxFontInfo>();
   if (!pInfo->ParseFontCfg(pUserPaths)) {
-    pInfo->AddPath("/usr/share/fonts");
-    pInfo->AddPath("/usr/share/X11/fonts/Type1");
-    pInfo->AddPath("/usr/share/X11/fonts/TTF");
+    pInfo->AddPath("/usr/local/share/fonts/Type1");
+    pInfo->AddPath("/usr/local/share/fonts/TTF");
     pInfo->AddPath("/usr/local/share/fonts");
   }
   return std::move(pInfo);