[libGD] #104 [Comment added] bounding rectangle pixel rounding error

[email protected] (libGD) Fri, 03 Aug 2007 16:02:30 +0000
Newsgroups php.gd.bugs
Message-ID <[email protected]>
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#104 - bounding rectangle pixel rounding error
User who did this - Bob Rostermann (rfoNYC)

----------
hmmm, gd-latest.tar.gz unpacks to gd.2.0.34, I should have checked that before I posted. Here's the diff for gd-2.0.35:

<code>1368,1371c1368,1371
<       total_min.x -= METRIC_RES;
<       total_min..y -= METRIC_RES;
<       total_max.x += METRIC_RES;
<       total_max.y += METRIC_RES;
---
>       total_min.x -= METRIC_RES/2;
>       total_min.y -= METRIC_RES/2;
>       total_max.x += METRIC_RES/2;
>       total_max.y += METRIC_RES/2;</code>
----------

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

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.