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

Index: pdfium/xfa/fgas/font/fgas_stdfontmgr.cpp
--- pdfium/xfa/fgas/font/fgas_stdfontmgr.cpp.orig
+++ pdfium/xfa/fgas/font/fgas_stdfontmgr.cpp
@@ -464,8 +464,8 @@ FX_LPEnumAllFonts FX_GetDefFontEnumerator() {
 #else
 const FX_CHAR* g_FontFolders[] = {
 #if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_
-    "/usr/share/fonts", "/usr/share/X11/fonts/Type1",
-    "/usr/share/X11/fonts/TTF", "/usr/local/share/fonts",
+    "/usr/X11R6/lib/X11/fonts/Type1",
+    "/usr/X11R6/lib/X11/fonts/TTF", "/usr/local/share/fonts",
 #elif _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
     "~/Library/Fonts", "/Library/Fonts", "/System/Library/Fonts",
 #elif _FXM_PLATFORM_ == _FXM_PLATFORM_ANDROID_
