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!
Comments