Re: [PHP] Drawing all characters using GD

2007-05-04 Thread Seth Price
Ah, thanks, I didn't notice a i18n mailing list. I'll try there. Maybe if I had a list of font files, I could test each to work with a given string, until I find one which works? ~Seth On May 4, 2007, at 2:54 PM, Richard Lynch wrote: On Fri, May 4, 2007 9:23 am, Seth Price

[PHP] Drawing all characters using GD

2007-05-04 Thread Seth Price
I have enough fonts installed on my machine to draw most of the world's UTF-8 characters. But they aren't all in one font file. How can I use the resources I have to reliably draw any character using imagetttext()? For example: Most of the text I want to draw is regular ASCII, many words

Re: [PHP] TrueType font changes size when rotated?

2007-04-25 Thread Seth Price
7, at 6:30 PM, Richard Lynch wrote: On Wed, April 25, 2007 3:33 pm, Seth Price wrote: I downloaded your image, enlarged it, and measured it out in photoshop. The distance from the center to the left side is 131px, and center to right side is 129px. Diameter to top is 129px, and to bottom is 130p

Re: [PHP] TrueType font changes size when rotated?

2007-04-25 Thread Seth Price
I've created a bug report and moved discussion to the GD bug tracker: http://bugs.libgd.org/?do=details&task_id=76 On Apr 25, 2007, at 1:38 PM, tedd wrote: Yep, I'm calculating the length from the returned bounding box and printing it out. The box seems to randomly expand and shrink depen

Re: [PHP] TrueType font changes size when rotated?

2007-04-25 Thread Seth Price
I downloaded your image, enlarged it, and measured it out in photoshop. The distance from the center to the left side is 131px, and center to right side is 129px. Diameter to top is 129px, and to bottom is 130px. While it may not be an obvious ellipse, it's enough to throw off my calculat

Re: [PHP] TrueType font changes size when rotated? (the plot thickens)

2007-04-25 Thread Seth Price
s like this may be a bug in GD or FreeType. Thanks, Seth On Apr 25, 2007, at 12:29 AM, jekillen wrote: On Apr 24, 2007, at 8:26 PM, Seth Price wrote: Hi all! I've been programming GD and PHP for a while, but I haven't done much with font drawing. I'm trying to layout and dr

Re: [PHP] TrueType font changes size when rotated?

2007-04-25 Thread Seth Price
I'm using Safari for Mac also. What are the numbers after 'Hello world' coming out for you? ~Seth On Apr 25, 2007, at 11:05 AM, tedd wrote: At 10:26 PM -0500 4/24/07, Seth Price wrote: Hi all! I've been programming GD and PHP for a while, but I haven't done mu

[PHP] TrueType font changes size when rotated?

2007-04-24 Thread Seth Price
Hi all! I've been programming GD and PHP for a while, but I haven't done much with font drawing. I'm trying to layout and draw text, but the text actually changes size and shape depending on the angle it's drawn at. This is making it extremely difficult to lay the text out properly. Am I doing so