php-windows Digest 19 Nov 2011 14:03:50 -0000 Issue 3983

Topics (messages 30732 through 30732):

Re: gd2 with t1lib
        30732 by: Blackjack

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message --- After more testing I noticed that no special characters like german umlauts or french characters are displayed. This is a common problem with ps1 fonts and with t1lib one can solve it with imagepsencodefont.

I could not find a solution yet. Some mention to convert the string first to i.e. utf-8 or to use html-specific characters like ä or ü but this can only work for fonts with a proper encoding vector (and ps1 fonts don't). So i was not successfull with this. Of course, with arial.ttf there is not problem with umlauts.

I also tried to use the extrainfo parameter with imagefttext but with no success:

$text=imagefttext($img, 28, 0, 152, 56, $black, "fonts/HLBEuro_.PFB", "Kürbis", array('flags'=>gdFTEX_IsoLatin1));

Since I could not find (or understand) a documentation for the extrainfo parameter, am I wrong with my code? Or is there an other solution?



"Pierre Joye" schrieb im Newsbeitrag news:caezptu7hy03-2mmhb0zy2uyhhcv71m2gwrzuhmexqp5un3y...@mail.gmail.com...

hi,

Freetype supports postscript fonts as well, what prevents you to use
the ft functions?

On Wed, Nov 16, 2011 at 8:39 PM, blackjack <blackj...@mailinator.com> wrote:
I just upgraded from php 5.2.3 to 5.3.8-nts-win32-vc9-x86 with the installer from php.net. Unfortunately the precompiled php_gd2.dll does not support t1lib and my old one does not work with the new installation.

I need the t1lib support because of the function imagepsloadfont() but I don't have the knowledge and the environment to build the php binaries by myself.

I'd be very happy if someone could post a php_gd2.dll that works for me.


--------------=  Posted using GrabIt  =----------------
------=  Binary Usenet downloading made easy =---------
-=  Get GrabIt for free from http://www.shemes.com/  =-


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---

Reply via email to