aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_pdfium_core_fxge_fx__ge__linux.cpp
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2019-04-05 12:01:25 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2019-04-05 12:01:25 +0000
commitd90bf58cf83c548d4ed98f8c6ee55a6b84af0834 (patch)
treee364221b071fc7af079027aa7e6ac3d25435767a /www/chromium/files/patch-third__party_pdfium_core_fxge_fx__ge__linux.cpp
parentfcba89385022c66b9761c19679d20d5d7341b619 (diff)
downloadports-d90bf58cf83c548d4ed98f8c6ee55a6b84af0834.tar.gz
ports-d90bf58cf83c548d4ed98f8c6ee55a6b84af0834.zip
Notes
Diffstat (limited to 'www/chromium/files/patch-third__party_pdfium_core_fxge_fx__ge__linux.cpp')
-rw-r--r--www/chromium/files/patch-third__party_pdfium_core_fxge_fx__ge__linux.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium/files/patch-third__party_pdfium_core_fxge_fx__ge__linux.cpp b/www/chromium/files/patch-third__party_pdfium_core_fxge_fx__ge__linux.cpp
new file mode 100644
index 000000000000..0557f9bf57a8
--- /dev/null
+++ b/www/chromium/files/patch-third__party_pdfium_core_fxge_fx__ge__linux.cpp
@@ -0,0 +1,14 @@
+--- third_party/pdfium/core/fxge/fx_ge_linux.cpp.orig 2019-03-11 22:08:02 UTC
++++ 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/local/share/fonts/Type1");
++ pInfo->AddPath("/usr/local/share/fonts/TTF");
+ pInfo->AddPath("/usr/local/share/fonts");
+ }
+ return std::move(pInfo);