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 <tehrhardt@innovaphone.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit a76eab228f
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
24b78f0de9
commit
54d2e39bca
@ -39,7 +39,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 \
|
||||
|
Loading…
Reference in New Issue
Block a user