All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] ghostscript: set correct font path on target
@ 2018-07-28 21:57 Arnout Vandecappelle
  2018-08-23 20:12 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Arnout Vandecappelle @ 2018-07-28 21:57 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=a76eab228f0bde8597bb6431733e3e1a8d25f806
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

GHOSTSCRIPT_FONTS_TARGET_DIR is set to $(TARGET_DIR)/usr/share/fonts/gs
in ghostscript-fonts.mk. If we pass this full path to ghostscript, it
will look for fonts in $(TARGET_DIR), which doesn't exist on the
target.

Instead of /usr/share/fonts/gs, use /usr/share/fonts so ghostscript can
also access other fonts than the ones installed by ghostscript-fonts.

Signed-off-by: Thomas Ehrhardt <tehrhardt@innovaphone.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/ghostscript/ghostscript.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/ghostscript/ghostscript.mk b/package/ghostscript/ghostscript.mk
index fcfb8d7058..8ea6610be5 100644
--- a/package/ghostscript/ghostscript.mk
+++ b/package/ghostscript/ghostscript.mk
@@ -40,7 +40,7 @@ GHOSTSCRIPT_CONF_OPTS = \
 	--disable-compile-inits \
 	--disable-cups \
 	--enable-fontconfig \
-	--with-fontpath=$(GHOSTSCRIPT_FONTS_TARGET_DIR) \
+	--with-fontpath=/usr/share/fonts \
 	--enable-freetype \
 	--disable-gtk \
 	--without-jbig2dec \

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [git commit] ghostscript: set correct font path on target
  2018-07-28 21:57 [Buildroot] [git commit] ghostscript: set correct font path on target Arnout Vandecappelle
@ 2018-08-23 20:12 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2018-08-23 20:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=a76eab228f0bde8597bb6431733e3e1a8d25f806
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > GHOSTSCRIPT_FONTS_TARGET_DIR is set to $(TARGET_DIR)/usr/share/fonts/gs
 > in ghostscript-fonts.mk. If we pass this full path to ghostscript, it
 > will look for fonts in $(TARGET_DIR), which doesn't exist on the
 > target.

 > Instead of /usr/share/fonts/gs, use /usr/share/fonts so ghostscript can
 > also access other fonts than the ones installed by ghostscript-fonts.

 > Signed-off-by: Thomas Ehrhardt <tehrhardt@innovaphone.com>
 > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Committed to 2018.02.x and 2018.05.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-23 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-28 21:57 [Buildroot] [git commit] ghostscript: set correct font path on target Arnout Vandecappelle
2018-08-23 20:12 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.