[Bug 225786] Merge Review: gd

bugzilla at redhat.com bugzilla at redhat.com
Sun Mar 25 02:31:54 UTC 2007


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Merge Review: gd


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225786





------- Additional Comments From pertusus at free.fr  2007-03-24 22:31 EST -------
The default font path is wrong.
there is, in gd.h:
#ifndef DEFAULT_FONTPATH
....
#define DEFAULT_FONTPATH
"/usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:/usr/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type1"

(This seems to be used in gdft.c. There is also
#define DEFAULT_FONTPATH "/usr/share/fonts/truetype"
but it reuse the value from gd.h since there is a
#ifndef DEFAULT_FONTPATH)

One possibility could be along
/usr/share/X11/fonts/TTF/:/usr/share/fonts/bitstream-vera/:/usr/share/fonts/dejavu-lgc/:/usr/share/fonts/default/Type1/:/usr/share/X11/fonts/Type1
And maybe tetex type1 fonts?

Since there is a
#ifndef DEFAULT_FONTPATH

It should be possible to change it in the CFLAGS.


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the Fedora-package-review mailing list