We have an issue tracker for reporting problems such as this, if you report
the issue yourself you get advised on any progress.
In this case, since you are already checking drawString() you may wish to
look at the LabelPainter class an prepare a patch.
paint straight label:
https://github.com/geotools/geotools/blob/master/modules/library/render/src/main/java/org/geotools/renderer/label/LabelPainter.java#L460
paint curved label:
https://github.com/geotools/geotools/blob/master/modules/library/render/src/main/java/org/geotools/renderer/label/LabelPainter.java#L683
Neither of these methods used drawString, they use draw (for halo) or
drawGlyphVector as appropriate.
The tricky part for this (or any issue) is setting up a test case showing
that your "fix" accomplishes something. As such your test case will need to
make use of (or include) a freely available Font - a lesson we recently
learned due to cross platform tests.
Jody Garnett
On Mon, Jun 16, 2014 at 12:10 AM, sunish <sunish.ku...@gmail.com> wrote:
> Hello,
>
> I am facing one problem while displaying labels in Hindi language.
>
> Characters in the text is getting rendered misplaced order.
> For example when I try to display label with the text हिन्दी it is not
> taking into consideration the complex text layout (
> http://en.wikipedia.org/wiki/Complex_text_layout).
>
> I am attaching an image which shows how the text should be displayed
> correctly and how it is getting displayed on map.
>
> Java Swing controls and java 2d graphics drawString() displays the text
> correctly.
> I tried with different fonts including the specific Hindi font also but
> the result was the same.
>
> Thanks
>
> Sunish.
>
>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users