speaker219 Posted November 22, 2007 Share Posted November 22, 2007 Is there any possible way to create an individual image for each character in a TrueType font file (.ttf)? Eiether in PHP, or some Windows program that would do it? Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/78354-create-image-for-each-individual-character-in-a-truetype-font-ttf/ Share on other sites More sharing options...
websiterepairguys Posted November 22, 2007 Share Posted November 22, 2007 The short answer is yes. just look at the image functions in php manual, there are numerous examples. Quote Link to comment https://forums.phpfreaks.com/topic/78354-create-image-for-each-individual-character-in-a-truetype-font-ttf/#findComment-396449 Share on other sites More sharing options...
cooldude832 Posted November 22, 2007 Share Posted November 22, 2007 you can type a true type font, so what you could do is say <?php $i = 0 while($i < 90){ $chr = char($i); //Make img from $chr $i++; } ?> Quote Link to comment https://forums.phpfreaks.com/topic/78354-create-image-for-each-individual-character-in-a-truetype-font-ttf/#findComment-396451 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.