[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] Arabic Labels in the map
|
Ok, I just found the old issue and attached the patch to it. It
probably won't apply directly. See:
http://jira.codehaus.org/browse/GEOT-253
The patch was just generated by doing svn diff -r 9406:9407 on the 2.0.x
branch. I apologize I never got it properly moved across, when I was up
for it the indexed shapefile had already been forked.
Also does uDig only used indexed-shapefile right now? Is there some way
to easily move them to the same module? Even if only on trunk?
Chris
Chris Holmes wrote:
The problem is that it's in the factory. Like it's param in the
factory, that gets passed to the DBF reader. So it does have to be in a
couple places. I'll find the patch, but be warned it's very out of
date. I think it was 2.0.x
Chris
On 5/4/07, *Jesse Eichar* <jeichar@xxxxxxxxxxxxxxx
<mailto:jeichar@xxxxxxxxxxxxxxx>> wrote:
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@xxxxxxxxxxxxxxx
<mailto:jeichar@xxxxxxxxxxxxxxx>> 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
<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
<http://lists.refractions.net/mailman/listinfo/udig-devel>
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net <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
<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
<http://lists.refractions.net/mailman/listinfo/udig-devel>
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;349 W. 12th Street, #3;New York;NY;10014;USA
email;internet:cholmes@xxxxxxxxxxxxx
title:Managing Director, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard