ColdFusioning.com
Pronunciation \kold-fy-zhn-ing\ Noun: The actions of one that writes ColdFusion.

Please check out my new site: http://ja.mesbrown.com/

ImageDrawText - "Unable to find font"

While using ImageDrawText I keep getting this error: "Unable to find font" and it tries to list out some of the fonts on the server. I say "some" because it cuts the list off part of the way down. Apparently, I was attempting to use a font that doesn't come with the operating system. I "installed" the font on the server as you normally would but that didn't seem to work either. I kept getting the same "Unable to find font" error.

Well, after doing some research, ColdFusion needs to have the font copied into the directory:

your_installation_root\runtime\jre\lib\fontsĀ 

To be able to access it using the ImageDrawText function.

Copy the font there, restart ColdFusion and it works!

TweetBacks

Comments

Thanks, just the answer I was looking for!

# Posted By Lyle | 4/10/09 2:33 PM

It is such an obscure thing. Glad I could help!

# Posted By James Brown | 4/10/09 2:43 PM

Thank you!

# Posted By Pj | 12/14/11 9:48 PM

Recent Comments

RSS

Subscribe