[libGD] #234 [Comment added] bug of gdImageStringFTEx
[email protected] Thu, 9 Dec 2010 09:44:10 +0100 (CET)
| 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#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.