[udig-devel] Arabic Labels in the map

Jesse Eichar jeichar at refractions.net
Fri May 4 08:46:27 PDT 2007


FYI,  Both share the same DBF reader so you should only have to apply  
it once.  Do you have a patch some where?

Jesse

On May 4, 2007, at 8:11 AM, Chris Holmes wrote:

> If it's shapefiles, then we're still hardcoding in the western  
> character stuff.  I have the code to do the fix, or at least know  
> what needs to be done, but I've kept waiting for indexed shapefile  
> and shapefile to merge so I don't have to apply the patch in four  
> places...
>
> Chris
>
> On 5/2/07, Jesse Eichar <jeichar at refractions.net> wrote:
> Hi Ahmad,
>
> All of the rendering is done in Geotools.  The "LabelCacheDefault"
> object is the object responsible for drawing the labels.  And
> DBFReader in the Shapefile plugin is responsible for reading from
> shapefiles.  Does Postgis render Arabic correctly or are all labels
> incorrect?
>
> The uDig SDK RC10 comes with the Geotools source code so you can
> probably use that to debug the problem.  If you can find a solution
> I'd be happy to apply it.
>
> Jesse
>
>
> On May 2, 2007, at 2:23 AM, Ahmad Al-Obaidy wrote:
>
> > Dear All,
> >
> > UDIG doesn't render Arabic text correctly on the labels of vector
> > layers. It render them as separate letters instead of the correct
> > continuous (script) form.
> >
> > Even more, udig couldn't guess the code page of the string fields
> > in a shape file. And it had render it in different code page in the
> > Table View.
> >
> > I has already sent a sample shape file here http://
> > jira.codehaus.org/secure/attachment/27104/region-boarders.zip
> >
> > I would be glad to send you screen shots as well (if it is needed).
> >
> > I do some Java development so I would be glad if someone showed me
> > how to start to solve this problem.
> >
> > Ahmad
> > _______________________________________________
> > User-friendly Desktop Internet GIS (uDig)
> > http://udig.refractions.net
> > http://lists.refractions.net/mailman/listinfo/udig-devel
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.refractions.net/pipermail/udig-devel/attachments/20070504/f8a715ee/attachment-0001.html


More information about the udig-devel mailing list