TrueType font support with PHP 3.0.15 on RH 6.2 ?

Daniel Morissette danmo at videotron.ca
Thu Aug 17 12:27:40 PDT 2000


"Doyon, Jean-Francois" wrote:
> 
> Goodday,
> 
> Has any one successfully used the PHP module with FreeType support ?
> 
> Mine seems to be bombing when I switch to true type fonts ...The exact
> same mapfile works fine with Bitmap fonts ...
> 
> Do I need some special FreeType support built into PHP ?
> 
> I'm just using the standard RPM's ...
> 

Bonjour Jean-Francois,

I have php_mapscript.so displaying FreeType fonts on my RedHat 6.2
system.  However I am not using the PHP that came with RH6.2... I had to
recompile my own because I needed the DBase module linked in.

And following your message I tried switching back to the original PHP
that came with RH6.2 and my application started crashing like yours as
soon as it tries to display TT Fonts.

A quick compare of the 2 phpinfo() outputs tells me that the PHP that
came with RH included FreeType support but my new one didn't.  that
could explain the bug.

I can give you a copy of my new libphp3.so if you want... it should
solve your problem for now, until I have time to look into the real
source of the bug.

Later,
-- 
------------------------------------------------------------
 Daniel Morissette                       danmo at videotron.ca
              http://pages.infinit.net/danmo/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.




More information about the MapServer-users mailing list