Jump to content

hyphens and imagettftext()


nic

Recommended Posts

Hey,

 

I've got a very simple image generations script, almost identical to the example script in the manual. It uses the imagettftext() function to generate headers for news posts and such things. For some reason though, it doesn't want to display the hyphen (-) character, but draws a box instead, as if that character isn't in the font. I've checked this and the character is there. I've also tried passing the string to the imagettftext() function in various ways, through the _GET and _POST variables, as well as typing it in manually, but the problem doesn't seem to be there. I'm at a loss as to where to even look for this problem... any ideas?

 

Thanks,

 

nic

Link to comment
https://forums.phpfreaks.com/topic/47239-hyphens-and-imagettftext/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.