How can I resolve problematic kerning in GeoServer labels?


enter image description here

Problematic kerning is in "San Glissando"

Another example:

enter image description here

Geoserver documentation contains only:

       <CssParameter name="font-family">Arial</CssParameter>
       <CssParameter name="font-size">12</CssParameter>
       <CssParameter name="font-style">normal</CssParameter>
       <CssParameter name="font-weight">bold</CssParameter>

I would like to find something like the CSS parameters, which can change spacing between letters in labels.


There is no way to control word spacing, to the best of my knowledge all you can try to do is to change the font and hope it's handled better.

If you can develop in java, it seems that there is some kerning control that GeoServer (actually, GeoTools) currently does not use, it could be turned into a vendor option, or if it's always better, be the new default:


| improve this answer | |
  • Follow up, in GeoServer 2.12 onwards kerning will be on by default. – Andrea Aime Jul 24 '17 at 16:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.