Luis F. Majano
Java Coldfusion • Computer Engineer
CFImage Captcha Error on not finding Fonts Need Help
I have a vm running ubuntu with CF 8.01 and I am testing cfimage to create a captcha and it fails on linux but not on my windows and mac boxes. The error I get is the following:
The VERDANA,ARIAL,TIMES NEW ROMAN,COURIER font name is/are not supported. The problem is that this works on windows and mac? Here is the code?
<cfimage action="captcha"
text="#arguments.text#"
width="#arguments.width#"
height="#arguments.height#"
fonts="verdana,arial,times new roman,courier" />
text="#arguments.text#"
width="#arguments.width#"
height="#arguments.height#"
fonts="verdana,arial,times new roman,courier" />
I checked on the CF admin, and all of the fonts are installed. So why do I get this on Linux based cf? Any ideas?




Haven't messed with the CFImage tag on Linux yet...
I have tried it all and nothing. How I made it work, was by removing the fonts attribute. However, then I have to make an exception when this runs in linux vs other OS's.
I was hoping the list could be generic enough.
Any ideas?
As far as the C++ package goes, yea libstdc++.so.5 is required by ColdFusion 8 but isn't included with a base Ubuntu 8 build. To get the package simply run "apt-get install libstdc++5" then rerun the installer.