I recently ran into the issue of wanting to use fonts that were on my local PC to build nice looking headers for this site. While doing the research to find out how difficult it would be to embed a font into the page for those who don't have it on their PCs, I remembered my encounters with GD while testing out an image validation script.
The image headings that you see at the top of each page were created dynamically using the GD libraries and PHP functions with the Brushstroke Plain true type font. Allow me to show you an example complete with code.




