[mapserver-users] MapScript CSharp save fontset

Hulbert, Brian brian.hulbert at linquest.com
Wed Feb 18 07:48:18 PST 2009


Regarding the contents of the fontset.
	I dynamically create the fontset file after indexing the fonts
installed on the user's system.  That makes it easier to just show the user
a common Font dialog and allow them to choose the font they want.

Regarding the fonset filename.
	Using MapServer 5.0.2 from a C# app, I call setFontSet() of my
mapObj and pass it a fully qualified path and filename to my fontset file.


Brian

NOTE: The views expressed are the author's and do not necessarily reflect
the official position of LinQuest Corporation or any of its subsidiaries or
the organization providing Internet access.

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Berend
Veldkamp
Sent: Wednesday, February 18, 2009 10:37 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] MapScript CSharp save fontset

Hi,

Is there a way to save a fontset with CSharp MapScript? It is of
course not hard to do that manually, but it would be nice to have a
method similar to symbolset.save().

And another thing: After I save the fontset, I can't seem to set the
mapObj.fontset.filename, because it claims to be a read-only property.

Regards, Berend
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list