[libGD] #76 [Task opened] TT Font size changes as it's rotated

[email protected] (libGD)
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below.

User who did this - Seth Price (mailseth)

Attached to Project - libGD
Summary - TT Font size changes as it's rotated
Task Type - Bug Report
Category - Freetype
Status - Unconfirmed
Assigned To - 
Operating System - BSD-like
Severity - Medium
Priority - Normal
Reported Version - 2.0.34
Due in Version - Undecided
Due Date - Undecided
Details - =====Email sent to Pierre:=====
I've been working on tracking down a bug that appears when drawing text at an angle using PHP. I posted my problem to the PHP mailing list here:
http://marc.info/?l=php-general&m=117747165432169&w=2

I ended up rewriting the problem in C and linking it against the most recent version of GD (.35RC2). For the full information, example, and test files, see this post:
http://marc.info/?l=php-general&m=117751992723527&w=2

I still get the problem, so I've decided to write you directly to see what you think. What is your output when you run my C program? Does the font size change or remain constant? Is this a bug in GD or FreeType? Am I using the right settings?


=====Pierre's reply:=====
Which Freetype version do you use?

See the image as attachment, it uses 2.0.35RC2 and freetype 2.2.1
(works with the recent 2.3.x serie as well).


=====Rather than continue to fill Pierre's inbox, I'll continue the thread here:=====
Actually, I think the bug is caused by the latest version of FreeType. I upgraded my local machine to the latest version of FreeType (v2.3.4) and the bug appeared. I don't know how to directly link and test FreeType, so I can't 100% isolate the problem.

I still have both versions installed on my computer. The bug appears with the latest version of FT, but doesn't appear with the earlier version. Is GD using the FreeType API correctly?

<code>
$ /usr/X11R6/bin/freetype-config --version
9.3.3
$ /usr/local/bin/freetype-config --version
9.15.3
</code>

More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=76

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.