* [Buildroot] ghostscript: wrong fonts path set in target application
@ 2018-07-25 11:46 Thomas Ehrhardt
2018-07-25 14:37 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Ehrhardt @ 2018-07-25 11:46 UTC (permalink / raw)
To: buildroot
Without this patch the fonts path of ghostscript is wrong.
--- a/package/ghostscript/ghostscript.mk
+++ b/package/ghostscript/ghostscript.mk
@@ -40,7 +40,7 @@
--disable-compile-inits \
--disable-cups \
--enable-fontconfig \
- --with-fontpath=$(GHOSTSCRIPT_FONTS_TARGET_DIR) \
+ --with-fontpath=/usr/share/fonts \
--enable-freetype \
--disable-gtk \
--without-jbig2dec \
--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] ghostscript: wrong fonts path set in target application
2018-07-25 11:46 [Buildroot] ghostscript: wrong fonts path set in target application Thomas Ehrhardt
@ 2018-07-25 14:37 ` Thomas Petazzoni
2018-07-26 8:44 ` Thomas Ehrhardt
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2018-07-25 14:37 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 25 Jul 2018 06:46:28 -0500 (CDT), Thomas Ehrhardt wrote:
> Without this patch the fonts path of ghostscript is wrong.
This probably looks good, but could you describe a bit more how the
problem manifests itself in practice ?
Also, could you resend with your Signed-off-by line added ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] ghostscript: wrong fonts path set in target application
2018-07-25 14:37 ` Thomas Petazzoni
@ 2018-07-26 8:44 ` Thomas Ehrhardt
2018-07-26 8:57 ` Thomas Ehrhardt
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Ehrhardt @ 2018-07-26 8:44 UTC (permalink / raw)
To: buildroot
Hi Thomas,
in the ghostscript-fonts package the variable is set too:
GHOSTSCRIPT_FONTS_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/gs
On the target system the call ghostscript -h shows something like this:
Search path:
[..]
/[..]/output/target/usr/share/fonts/gs
This is a wrong fonts search directory compiled within ghostscript, I think
correct is /usr/share/fonts
Regards
Thomas
--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] ghostscript: wrong fonts path set in target application
2018-07-26 8:44 ` Thomas Ehrhardt
@ 2018-07-26 8:57 ` Thomas Ehrhardt
2018-07-28 22:04 ` Arnout Vandecappelle
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Ehrhardt @ 2018-07-26 8:57 UTC (permalink / raw)
To: buildroot
Signed-off-by: Thomas Ehrhardt <tehrhardt@innovaphone.com>
---
--- a/package/ghostscript/ghostscript.mk
+++ b/package/ghostscript/ghostscript.mk
@@ -40,7 +40,7 @@
--disable-compile-inits \
--disable-cups \
--enable-fontconfig \
- --with-fontpath=$(GHOSTSCRIPT_FONTS_TARGET_DIR) \
+ --with-fontpath=/usr/share/fonts \
--enable-freetype \
--disable-gtk \
--without-jbig2dec \
--
Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] ghostscript: wrong fonts path set in target application
2018-07-26 8:57 ` Thomas Ehrhardt
@ 2018-07-28 22:04 ` Arnout Vandecappelle
0 siblings, 0 replies; 5+ messages in thread
From: Arnout Vandecappelle @ 2018-07-28 22:04 UTC (permalink / raw)
To: buildroot
On 26-07-18 10:57, Thomas Ehrhardt wrote:
> Signed-off-by: Thomas Ehrhardt <tehrhardt@innovaphone.com>
> ---
> --- a/package/ghostscript/ghostscript.mk
> +++ b/package/ghostscript/ghostscript.mk
> @@ -40,7 +40,7 @@
> --disable-compile-inits \
> --disable-cups \
> --enable-fontconfig \
> - --with-fontpath=$(GHOSTSCRIPT_FONTS_TARGET_DIR) \
> + --with-fontpath=/usr/share/fonts \
This diff was containing spaces instead of tabs, so it didn't apply. Please
send patches using git send-email in the future, as explained in the manual.
I've made this change manually and applied. I've also improved the commit
message with the information you gave in your earlier mail:
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.
Can you double-check that commit a76eab228f0bde8597bb6431733e3e1a8d25f806 works
for you?
Regards,
Arnout
> --enable-freetype \
> --disable-gtk \
> --without-jbig2dec \
>
>
>
>
>
> --
> Sent from: http://buildroot-busybox.2317881.n4.nabble.com/
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-07-28 22:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-25 11:46 [Buildroot] ghostscript: wrong fonts path set in target application Thomas Ehrhardt
2018-07-25 14:37 ` Thomas Petazzoni
2018-07-26 8:44 ` Thomas Ehrhardt
2018-07-26 8:57 ` Thomas Ehrhardt
2018-07-28 22:04 ` Arnout Vandecappelle
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.