From a76eab228f0bde8597bb6431733e3e1a8d25f806 Mon Sep 17 00:00:00 2001 From: Thomas Ehrhardt Date: Wed, 25 Jul 2018 06:46:28 -0500 Subject: [PATCH] ghostscript: set correct font path on target 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 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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 \