TrueType font support with PHP 3.0.15 on RH 6.2 ?
Doyon, Jean-Francois
Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Fri Aug 18 08:47:03 PDT 2000
Goodday,
I just have a basic PHP/Mapscript question .. this should be obvious
but I can't seem to get it, maybe I'm not understanding PHP Objects
well enough just yet ...
I'm trying to get the extent of a map (as set in the map file) into
variables
for manipulation, but am not having any luck.
I've tried things like :
$minx = $map->extent->minx;
$minx = $map->extent(minx);
$extent = $map->extent;
echo $extent->minx
and a few more ... but I never get anything returned ! (No errors though).
What am I missing here ?
J.F.
> ----------
> From: Daniel Morissette[SMTP:danmo at videotron.ca]
> Sent: Friday, August 18, 2000 10:03 AM
> To: Doyon, Jean-Francois; ddnebert at fgdc.gov
> Cc: mapserver-users at lists.gis.umn.edu
> Subject: Re: TrueType font support with PHP 3.0.15 on RH 6.2 ?
>
>
> "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