$OpenBSD: patch-pdfium_core_fxge_ge_fx_ge_linux_cpp,v 1.1 2018/07/15 23:09:43 shadchin Exp $

Index: pdfium/core/fxge/ge/fx_ge_linux.cpp
--- pdfium/core/fxge/ge/fx_ge_linux.cpp.orig
+++ pdfium/core/fxge/ge/fx_ge_linux.cpp
@@ -128,9 +128,8 @@ std::unique_ptr<IFX_SystemFontInfo> IFX_SystemFontInfo
     const char** pUserPaths) {
   CFX_LinuxFontInfo* pInfo = new 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::unique_ptr<IFX_SystemFontInfo>(pInfo);
