Don't know of any parameter to support character spacing.

Are you sure those fonts are available on your system? On Linux, please check 
with fc-list command, that is part of the fontconfig package.

Download and install your fonts, for example in "/usr/share/fonts/" and run the 
command "fc-cache -f -v" to update the font cache. On Ubuntu it's the 
ttf-mscorefonts-installer you need to install fonts such as Arial and Courier.

Regards,

Edward

Date: Tue, 22 Mar 2011 21:44:36 +0300
From: [email protected]
To: [email protected]
Subject: [Geoserver-users] Character spacing in SLD TextSymbolizer

Hello!

Is there any way to adjust character spacing for labels in TextSymbolizers in 
SLD ? 
Maybe some hidden css tag?

Also I have a problem with changing a default font of TextSymbolizer.
When I put in:


<CssParameter name="font-family">Arial</CssParameter>

<CssParameter name="font-size">7</CssParameter>

<CssParameter name="font-style">normal</CssParameter>

<CssParameter name="font-weight">normal</CssParameter> 


none of the CssParameters work. 

When I change "font-family" to "font" parameters start working, but I can't 
change the font. I put in Arial, Courier, Times New Roman, but it's still the 
same one font (Arial I guess). 


Please help solve it. 
I've done so much work with SLD and I'm stuck with fonts in the end.


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users                    
                  
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to