On Fri, Jan 31, 2014 at 4:15 PM, Udo Rudbeck <[email protected]> wrote:

> Hi List
>
> Playing around with GTRenderer and trying to output an SVG document
> with texts NOT rendered as shapes. "new SVGGraphics2D()" parameter
> textAsShapes set to FALSE and also hint TEXT_RENDERING_KEY set to
> TEXT_RENDERING_STRING. Vector data being outputted is SHP files with
> SLD styles.
>
> any help would be appreciated
>

You will have to modify the LabelCacheImpl class, the reason why all the
labels are vectorized is that we need to do that in order to properly center
the labels in their halo, handle curved labels, and I believe also to
automatically layout multiline labels.

Doing the same without vectorizing the output should be possible, but
might not be easy, and when using halos, certainly not desirable, as the
halo are always painted slightly off in respect to the label

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

-------------------------------------------------------
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to