|
||||
[maplab-users] mapedit preview and freetypeZak James zak-ms@hoppsan.orgTue, 5 Aug 2003 20:25:42 -0400
|
When you specify that Mapserver is to be built --with-php, it may use the gd library bundled with php (in the php ext directory). This version does not automatically get built with ttf support, even when php is compiled with ttf. You can get around this by specifying your system's gd library in the php build and/or the mapserver build (i.e. configure --with-gd=<system gd directory>). zj > Warning: MapServer Error in msGetLabelSize(): libgd was not built with > FreeType font support in > /home/dnavascues/downloads/GIS/MapLab/maplab-2.0-release/htdocs/ > mapedit/preview.php > on line 465 > > My configuration is the following: > > S.O: Slackware 9.0 > Web Server: Apache 1.3 > PHP: 4.3.2 > MapServer: 3.6.6 > MapLab: 2.0 > Freetype: 1.3 > GD library: 2.0.15 > > These are my configure settings: > > For PHP, > > ./configure --with-zlib --with-gd --with-dbase --with-ttf > --enable-gd-native-ttf --with-regex=system > > For MapServer & MapScript > > ./configure --with-jpeg --with-gd --enable-force-freetype1 --with-zlib > --with-png --with-pdf --with-tiff --with-eppl > --with-proj --with-ogr --with-gdal --with-wmsclient --with-php > > I have modified the fonts.txt file to include complete paths, as it is > suggested in other posts related to this, but the problem persists. > > Thank you very much indeed for your help, > > Daniel > > > > > > > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users >
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |