Hi all,
I am just using geoserver-1.6-beta4.
I userd axl file in ArcIMS.
AXL provides 'TRUETYPEMARKERSYMBOL' to define the self-defined font.
eg,'<TRUETYPEMARKERSYMBOL antialiasing="true" font="JSSDDLFONT"
fontstyle="regular" fontsize="20" fontcolor="255,0,0" character="100" />'.
So I want to know the equal in SLD.
Thanks in advance of any suggestion.
----minimeteor
--
View this message in context: http://www.nabble.com/how-can-we-use-self-defined-font-tf4775643.html#a13661099
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi,
This might be a bit tricky. The first thing you will have to do is find
the file which defines the "JSSDDLFONT" and put in the location that
your operating system stores fonts in. I believe you can also just throw
it somewhere in your jdk to have it picked up by java as well.
Then I think you can probably do something like this in your SLD:
<Font>
<CssParameter name="font-family">JSSDDLFONT</CssParameter>
<CssParameter name="font-style">Normal</CssParameter>
<CssParameter name="font-size">14</CssParameter>
<CssParameter name="font-weight">bold</CssParameter>
</Font>
Be warned I have never actually tried this :).
-Justin
minimeteor wrote:
Hi all,
I am just using geoserver-1.6-beta4.
I userd axl file in ArcIMS.
AXL provides 'TRUETYPEMARKERSYMBOL' to define the self-defined font.
eg,'<TRUETYPEMARKERSYMBOL antialiasing="true" font="JSSDDLFONT"
fontstyle="regular" fontsize="20" fontcolor="255,0,0" character="100" />'.
So I want to know the equal in SLD.
Thanks in advance of any suggestion.
----minimeteor
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
Hi Justin,
thanks for your suggestion.
It is running well with your hint.
But I want to use the 'character' which means the ascii code.
--
View this message in context: http://www.nabble.com/how-can-we-use-self-defined-font-tf4775643.html#a13698252
Sent from the GeoServer - User mailing list archive at Nabble.com.