#20451 [Opn->Csd]: imagepstext generates weird images since PHP 4.3.0-pre1
| From: | pajoye@php.net | Date: | Wed, 04 Dec 2002 03:47:02 +0000 |
| Subject: | #20451 [Opn->Csd]: imagepstext generates weird images since PHP 4.3.0-pre1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26582@lists.php.net to get a copy of this message | ||
ID: 20451
Updated by: pajoye@php.net
Reported By: fdsoft@pganet.com
-Status: Open
+Status: Closed
Bug Type: GD related
Operating System: Red Hat Linux 7.3
PHP Version: 4.3.0RC1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Hello,
I have downloaded your script (which is bugged, the path to the font is
wrong generated, removed +1 :) ), I do not see any problem with the
font (except the fact, as you said, it s an ugly font). I compared the
result with a font viewer as well as a paint program, no problem
occurs. Tests made with RC2, RC1 and HEAD.
pierre
Previous Comments:
------------------------------------------------------------------------
[2002-11-18 15:07:12] fdsoft@pganet.com
Verified that the problem still exists in PHP 4.3.0RC1.
------------------------------------------------------------------------
[2002-11-16 13:44:42] fdsoft@pganet.com
Reopening the report
------------------------------------------------------------------------
[2002-11-15 23:06:10] fdsoft@pganet.com
I forgot to mention that I use t1lib 1.3.1 from the following address
to enable the imageps* functions in the gd extension (--with-t1lib
configure option):
ftp://sunsite.unc.edu/pub/Linux/libs/graphics/t1lib-1.3.1.tar.gz
------------------------------------------------------------------------
[2002-11-15 23:03:00] fdsoft@pganet.com
Yes, certainly, here's the whole code and the font in question:
http://web.axelero.hu/fdsoft/temp/fonttest.zip
There are some really ugly calculations and a brute force way of
determining the size of the would-be image in the code, since
imagepsbbox function didn't quite work well either. At least that was
the case with PHP 4.2.x, and since I added this workaround, I've yet to
re-check that in 4.3.0.
Now for this weird output problem I can't figure out a workaround, and
this was absolutely perfect with PHP 4.2.x., hence my bug report.
It's likely that the fonts I use are of low quality or buggy or both;
but that doesn't change the fact that this was working nicely with the
older versions.
Thanks
------------------------------------------------------------------------
[2002-11-15 21:18:24] sniper@php.net
Can you please provide a complete and working example script? This one
you added does not work.
--Jani
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20451
--
Edit this bug report at http://bugs.php.net/?id=20451&edit=1