Harley1979 Posted August 20, 2008 Share Posted August 20, 2008 Wierd question but maybe someone knows... I'm using a script I found at: http://www.alistapart.com/articles/dynatext to generate dynamic text using php, javascript, css and a true type font. The script allows me to control the size and colour of the font but what I want to know; Is there a way when creating an image with text using php to add spacing between each character? A long shot I know but please if any knows or can point me in the right direction I'd really appreciate it Thanks Link to comment https://forums.phpfreaks.com/topic/120603-true-type-fonts-and-php/ Share on other sites More sharing options...
Barand Posted August 20, 2008 Share Posted August 20, 2008 You would have to do it yourself. Split the string into individual characters and when you print each, calc its width, add the intercharacter spacing then repeat for next etc. Link to comment https://forums.phpfreaks.com/topic/120603-true-type-fonts-and-php/#findComment-621485 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.