#23527 [Fbk->Opn]: PostScript Type 1 font do not render properly

From: Date: Fri, 09 May 2003 11:07:56 +0000
Subject: #23527 [Fbk->Opn]: PostScript Type 1 font do not render properly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39357@lists.php.net to get a copy of this message
 ID:               23527
 User updated by:  nid at home dot se
 Reported By:      nid at home dot se
-Status:           Feedback
+Status:           Open
 Bug Type:         GD related
 Operating System: Linux Slackware 8
 PHP Version:      4.3.1
 New Comment:

I just downloaded the latest snapshot from snaps.php.net
(http://snaps.php.net/php4-STABLE-200305090930.tar.gz). It does not
work as I want, since the font is still not correct in size 9,10 and
12. (as it is in php <=4.2).

The build parameters this time is:

./configure \
--with-mysql \
--enable-track-vars \
--enable-ftp \
--enable-sockets \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib-dir=/usr \
--with-gd \
--with-t1lib=/usr/local \
--with-dom \
--with-expat-dir=/usr/local \
--enable-xslt \
--with-xslt-sablot \
--with-apxs=/usr/local/apache/bin/apxs \
--with-curl=/usr/local \
--disable-session

so, yes. I do use the bundled version of GD. (it says: bundled (2.0.12
compatible) in phpinfo()).


Previous Comments:
------------------------------------------------------------------------

[2003-05-09 05:26:24] sniper@php.net

When you use the latest stable snapshot and compile
it to use the _bundled_ GD library (by leaving the path out of
--with-gd), does it work or not?


------------------------------------------------------------------------

[2003-05-09 01:38:11] nid at home dot se

Try generating an image with font size 12, and you might get the same
results as me. The font renders well in some sizes (i've been testing
11 and 13 and higher).

------------------------------------------------------------------------

[2003-05-08 20:22:10] iliaa@php.net

Here is an image that was produced with your sample script using latest
stable PHP & bundled GD (with your font).
As far as I can tell the text is perfect.
http://bb.prohost.org/test2.png

------------------------------------------------------------------------

[2003-05-08 02:12:56] nid at home dot se

Sorry for setting the status to "open" again. The password-box's
standard-button is the upper "submit"-button, which is kind of wrong.
(shouldn't be discussed here I think)

------------------------------------------------------------------------

[2003-05-08 02:10:50] nid at home dot se

Also, I should say, PHP 4.2.3 had to be patched with this patch in
order to install correctly:
http://www.boutell.com/gd/php-4.2.3-gd-2.0.8.patch

I have looked in this patch, and it does not seem to include any fixes
about my problem.

------------------------------------------------------------------------

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/23527

-- 
Edit this bug report at http://bugs.php.net/?id=23527&edit=1



Thread (14 messages)

« previous php.bugs (#39357) next »