I believe GD had its own font caching built in or it used some Freetype constructs. I never wrote it...
Steve -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of thomas bonfort Sent: Wednesday, May 11, 2011 11:10 AM To: Jon-Paul Dobson Cc: [email protected] Subject: Re: [mapserver-users] Layer rendering performance problem what mapserver version and renderer/driver are you using? AGG should'nt be accessing the font file unless a new character is encountered. For GD I don't know. -- thomas On Wed, May 11, 2011 at 18:00, Jon-Paul Dobson <[email protected]> wrote: > Thanks guys. I will give this ago. Any ideas about poor performance when > using a true type font? Why does MapServer need to load the .ttf file each > time to draw a symbol. Surely the ttf file should be cached? > > Rgards, > Jon-Paul. > > On Wed, May 11, 2011 at 4:54 PM, Jeff McKenna > <[email protected]> wrote: >> >> On 11-05-11 12:47 PM, Jon-Paul Dobson wrote: >>> >>> Hi Jukka, >>> Thanks for getting back to me so quickly. No I haven't tried this. How >>> is this done and what is the benefit? Aren't Shape files already indexed? >>> Regards, >>> Jon-Paul. >> >> Jukka is right, always make sure to run the shptree commandline utility on >> all of your ESRI shapefiles before using them in MapServer >> (http://mapserver.org/utilities/shptree.html). You'll see huge speed >> differences. >> >> -jeff >> >> >> -- >> Jeff McKenna >> MapServer Consulting and Training Services >> http://www.gatewaygeomatics.com/ >> >> >> _______________________________________________ >> mapserver-users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
