Re: gd2 with t1lib

From: Date: Tue, 22 Nov 2011 17:12:59 +0000
Subject: Re: gd2 with t1lib
References: 1 2 3 4  Groups: php.windows 
Request: Send a blank email to php-windows+get-30735@lists.php.net to get a copy of this message
@Pierre Joye I hope you got the font i sent to you. Otherwise, please let me know. @PHP-WIN In the meanwhile i managed to install the VC9 Environment and to compile php on windows so it looks quiet the same like the 5.3.8-nts-win32-vc9-x86 package from php.net. But when compiling with the --with-t1lib I get the following Warning: Checking for library T1_StaticMD.lib ... <not found> WARNING: t1lib not enabled; libraries and headers not found 1. Now, where can i get this T1_StaticMD.lib? 2. Is it a bug that the binaries from php.net do not include t1lib support
       (also see https://bugs.php.net/bug.php?id=32809)
"Pierre Joye" schrieb im Newsbeitrag news:CAEZPtU6iViPjf_owaG7etuAqmR_5G_XGKQRZ=XnDXfJOB_7YQg@mail.gmail.com... please send me the font, so I can test and propose a solution. On Sat, Nov 19, 2011 at 3:03 PM, Blackjack <blackjack@mailinator.com> wrote:
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 &auml; or &#252; 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-2MmHB0Zy2UYHHCV71m2gWrzuHmeXQp5un3Yxgg@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 <blackjack@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 -- 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

« previous php.windows (#30735) next »