Hi,
looking into a difference in font rendering
between MapServer and GeoServer I noticed that
GeoTools SLDStyelFactory is using the size defined
in the TextSymbolizer as is, and this is not what
the specification mandates for.

SLD 1.0, page 46, states:
The "font-size" CssParameter element gives the size to use for the font 
in pixels. The default is defined to be 10 pixels, though various 
systems may have restrictions on what sizes are available.

Yet the java Font size is defined in points:
http://java.sun.com/javase/6/docs/api/java/awt/Font.html#getSize()

Hmm... anybody knows a way to turn pixels into points? It seems
to be screen dependent...

Cheers
Andrea

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to