Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-1709) problem with right-to-left languages

problem with right-to-left languages
------------------------------------

                 Key: UDIG-1709
                 URL: http://jira.codehaus.org/browse/UDIG-1709
             Project: uDIG
          Issue Type: Bug
          Components: tools and editing
    Affects Versions: UDIG 1.2.RC3
         Environment: XP, JRE 1.5
            Reporter: ferez
            Priority: Critical


I executed uDig using a right-to-left language (I used the option -nl fa  - fa for the Farsi language) and there is a big problem. I loaded a shapefile (usa_counties.shp) and tried to use "select feature" tool but it seems that coordinates are right-to-lefted too! The position box below the Map Editor shows the wrong position (mirrored position). When you click at the right side of the map editor, a feature in the left side get highlighted and selected!

To remake the situation just run the uDig using the option -nl fa, open a shapefile, and try to use the "select feature" tool on the toolbar.

Here is Jody's suggestion to resolve the problem:
- a method for MapDisplay that returns the screen "orientation"
- an additional "flip" flag for the ScaleUtils.pixelToWorld method
- add a method ScaleUtils.pixelToWorld( x, y, bounds, size, orientation )

Ferez

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Back to the top