seekerOfKnowledge has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to us an outside font with GD.
Though I do not have to use X11 fonts, GD comes with a program called "bdf2gd.pl" that can convert X11 fonts to a compatible format. So it looked like a good place to start. Unfortunately, the utility doesn't seem to work. A 99k ASCII text file comes out a 220k binary file.
The GD documentation also says their font format is the same as the old Windows' fixed-point format. So I got my copy of Windows 3.1 and tried one of its fonts. GD complains its format is not correct.
So, my question, oh wise ones, is what is the true way to use outside fonts in GD?
I humbly await your enlightenment,
seekerOfKnowledge
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Converting X11 fonts for GD
by BrowserUk (Patriarch) on Aug 23, 2012 at 14:57 UTC | |
|
Re: Converting X11 fonts for GD
by zentara (Cardinal) on Aug 23, 2012 at 15:27 UTC | |
by BrowserUk (Patriarch) on Aug 23, 2012 at 15:42 UTC | |
by zentara (Cardinal) on Aug 23, 2012 at 19:17 UTC | |
by BrowserUk (Patriarch) on Aug 23, 2012 at 23:14 UTC |