$OpenBSD: patch-third_party_pdfium_core_fxge_fx_ge_linux_cpp,v 1.1 2017/09/09 19:16:43 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
@@ -149,9 +149,8 @@ std::unique_ptr<IFX_SystemFontInfo> IFX_SystemFontInfo
     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);
