Skip Menu |
 

This queue is for tickets about the GD CPAN distribution.

Report information
The Basics
Id: 33476
Status: rejected
Priority: 0/
Queue: GD

People
Owner: Nobody in particular
Requestors: colen [...] cogmine.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.35
Fixed in: (no value)



Subject: GD not marshalling libgd stringft bounds properly?
Download (untitled) / with headers
text/plain 549b
I’m running into a problem where the bounding boxes of fonts (in stringFT) seem to clip bits that trail to the right. The bounding box returned by GD is drawn on the attached image, and does not enclose the entire text. I reported this to Pierre Joye, who is working on libgd. But, he was unable to reproduce it at his API level. So, I thought I should report it here. Lots of details on this bug can be found here: http://bugs.libgd.org/?do=details&task_id=80 Perhaps the problem is with marshalling the bounding box between APIs?
Subject: A2.gif
Download A2.gif
image/gif 405b
A2.gif
Download (untitled) / with headers
text/plain 877b
On Wed Feb 20 21:03:47 2008, Colen wrote: Show quoted text
> I’m running into a problem where the bounding boxes of fonts (in > stringFT) seem to clip bits that trail to the right. The bounding box > returned by GD is drawn on the attached image, and does not enclose the > entire text. > > I reported this to Pierre Joye, who is working on libgd. But, he was > unable to reproduce it at his API level. So, I thought I should report > it here. Lots of details on this bug can be found here: > http://bugs.libgd.org/?do=details&task_id=80 > > Perhaps the problem is with marshalling the bounding box between APIs?
No, we just pass through the parameters unchanged to libgd. It's entirely their thing. You must have used an older libgd version than Pierre Joye, or your font didn't have the kerning hints for italic or your libft cannot handle all of truetype. -- Reini Urban


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.