$OpenBSD: patch-third_party_pdfium_core_fxge_fx_ge_linux_cpp,v 1.5 2018/06/02 17:19:23 robert Exp $

Index: third_party/pdfium/core/fxge/fx_ge_linux.cpp
--- third_party/pdfium/core/fxge/fx_ge_linux.cpp.orig
+++ third_party/pdfium/core/fxge/fx_ge_linux.cpp
@@ -146,9 +146,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/X11R6/lib/X11/fonts/Type1");
+    pInfo->AddPath("/usr/X11R6/lib/X11/fonts/TTF");
     pInfo->AddPath("/usr/local/share/fonts");
   }
   return std::move(pInfo);
