pixels to ttf size
Posted: Wed Oct 13, 2004 9:10 am
Has any one come across a way to determine size in pixels to true type font letter size.
I am building a flyer maker and it all works fine execpt for the writing of the description. I need to know how when to wrap a line so that it doesn't get cut off.
I'm using the GD2 library and imagettftext to write the words to an image but I keep cutting words in the description or missing the bottom portion of my product number.
is that clear or does it sound as confused as i am?
thanks
I am building a flyer maker and it all works fine execpt for the writing of the description. I need to know how when to wrap a line so that it doesn't get cut off.
I'm using the GD2 library and imagettftext to write the words to an image but I keep cutting words in the description or missing the bottom portion of my product number.
is that clear or does it sound as confused as i am?
thanks