I am creating dynamic images with PHP on a host's Solaris box. I would like to use fonts other than the standard (ugly) ones available through the GD library.
Firstly am I right in thinking I can get hold of BDF font files, uplaod them into my web space and then load them through GD calls in PHP?
Secondly does anyone have any good sources for some BDF files for 'common' fonts?
TIA,
Dai
Difffernt fonts in GD library images
Moderator: General Moderators
-
pootergeist
- Forum Contributor
- Posts: 273
- Joined: Thu Feb 27, 2003 7:22 am
- Location: UK
Thanks for the answers, are truetype fonts platform dependent, or can I use any TTF on Solaris? Similarly for freetype?
BDF seems to be some form of binary font file that the non-ttf functions in GD uses, or were you being facetious?
Forgive my ignorance, I could survive quite happily with just one font so it all goes over my head...
Dai
BDF seems to be some form of binary font file that the non-ttf functions in GD uses, or were you being facetious?
Forgive my ignorance, I could survive quite happily with just one font so it all goes over my head...
Dai
It should work, tho I have not tested it on Solaris myself.
Reading the manuals comments on the appropiate function for it, you'll see that there are many users discussing it in *nix terms (3rd from the top as example).
Reading the manuals comments on the appropiate function for it, you'll see that there are many users discussing it in *nix terms (3rd from the top as example).