Summary: | sci-visualization/gnuplot: set default environment variables for fonts | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christopher Harvey <chris> |
Component: | New packages | Assignee: | Ulrich Müller <ulm> |
Status: | RESOLVED WORKSFORME | ||
Severity: | minor | CC: | sci |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gnuplot.info/faq/faq.html#SECTION00091000000000000000 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Christopher Harvey
2009-11-09 00:03:52 UTC
Gnuplot should fallback to its internal font. Doesn't it do that for you?
> export GDFONTPATH=/usr/share/fonts/freefont-ttf/
> export GNUPLOT_DEFAULT_GDFONT=FreeMono
I'm reluctant to add such settings since it would require additional dependencies (media-fonts/freefont-ttf for your example).
(In reply to comment #1) > Gnuplot should fallback to its internal font. Doesn't it do that for you? > No, not for sci-visualization/gnuplot-4.2.6 anyway...Maybe we can just mark this bug as ignore and people will see the bug report and that will be enough. Not really a fix, but I've added the following einfo message to pkg_postinst: + if use gd; then + echo + einfo "For font support in png/jpeg/gif output, you may have to" + einfo "set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT environment" + einfo "variables. See the FAQ file in /usr/share/doc/${PF}/" + einfo "for more information." + fi |