1From eb16276c3e2e34aa2e57f6a0e68554657b90cd28 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sat, 11 May 2019 17:06:29 +0800
4Subject: [PATCH] groff searchs fonts which are provided by ghostscript on
5 build host. It causes non-determinism issue. So not search font dirs on host.
6
7Upstream-Status: Inappropriate [cross build specific]
8
9Signed-off-by: Kai Kang <kai.kang@windriver.com>
10
11Rebase to 1.22.4
12Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13
14---
15 font/devpdf/Foundry.in | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/font/devpdf/Foundry.in b/font/devpdf/Foundry.in
19index e5aba65..5441734 100644
20--- a/font/devpdf/Foundry.in
21+++ b/font/devpdf/Foundry.in
22@@ -20,7 +20,7 @@
23
24 #=======================================================================
25 #Foundry|Name|Search path
26-foundry||@urwfontsdir@:(gs):/usr/share/fonts/type1/gsfonts:/usr/share/fonts/default/Type1:/usr/share/fonts/default/Type1/adobestd35:/usr/share/fonts/type1/urw-base35:/opt/local/share/fonts/urw-fonts:/usr/local/share/fonts/ghostscript
27+foundry||(gs)
28
29 # Enable the font description files for grops (generated from Adobe
30 # foundry font files) to be used with gropdf.  afmtodit must not be
31@@ -72,7 +72,7 @@ EURO|N||||*../devps/freeeuro.pfa
32 # URW fonts are typically shipped with Ghostscript, but can be replaced.
33
34 #Foundry|Name|Search path
35-foundry|U|@urwfontsdir@:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/default/Type1:/usr/share/fonts/default/Type1/adobestd35:/usr/share/fonts/type1/urw-base35:/opt/local/share/fonts/urw-fonts:/usr/local/share/fonts/ghostscript:(gs)
36+foundry|U|(gs)
37
38 # Define flags for afmtodit.
39
40