On Fri, Jun 14, 2013 at 8:19 AM, Edward Mac Gillavry <
[email protected]> wrote:
> Hi Jakob,
>
> There's the CSS-parameter 'font-style' you should be using for this. Set
> the value to 'oblique'. Let others correct me if I am wrong, but the font
> you would like to use has to have that variant. I don't think GeoServer is
> able to skew the font into a slanted variant.
>
Yep, GeoServer can only do what the underlying Java2D rendering subsystem
can do. Oblique will make it italic afaik, not backslanted... believe
you'll need to find a font that is in that state from the start.
>
> There's no option (yet?) to adjust the kerning of the individual letters
> in GeoServer. In case you are looking into labeling areas, there's the
> VendorOption 'polygonAlign' to at least make the text follow the general
> orientation of the area.
>
Correct. Adding that option should be possible though, we already have code
that skips normal java2d string rendering and draws strings one chart at a
time to follow curved lines, that could be adjusted to add space in between
chars for curved or even straight lines.
Mind, I see two reasonable options user wise, one would be to add a fixed
space between chars, the other would be to try and fill a given line, which
would be useful to generate maps with a label that generally covers a
certain area (think trying to label a mountain chain, where you have
prepared a line following its general centerline)
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users