[libGD] #234 [Comment added] bug of gdImageStringFTEx
| From: | gd-bugs at lists dot php dot net | Date: | Thu, 09 Dec 2010 08:44:10 +0000 |
| Subject: | [libGD] #234 [Comment added] bug of gdImageStringFTEx | ||
| Groups: | php.gd.bugs | ||
| Request: | Send a blank email to php-gd-bugs+get-823@lists.php.net to get a copy of this message | ||
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#234 - bug of gdImageStringFTEx
User who did this - tzzhwj (tzzhwj)
----------
(total_min.x -= METRIC_RES;
total_min.y -= METRIC_RES;
total_max.x += METRIC_RES;
And whether the code block total_max.y += METRIC_RES;) in gdImageStringFTEx() need to be revised
into
(
int nLen = strlen(string);
if (!((0 == nLen) ||
(1 == nLen && ('\r' == string[0] || '\n' == string[0])) ||
(2 == nLen && (!strncmp(string, "\r\n", 2) || !strncmp(string,
"\n\r", 2)))))
{
total_min.x -= METRIC_RES;
total_min.y -= METRIC_RES;
total_max.x += METRIC_RES;
total_max.y += METRIC_RES;
}
)
or not?
----------
More information can be found at the following URL:
http://bugs.libgd.org/?do=details&task_id=234#comment668
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.