#2549 closed defect (worksforme)
Add support for joining in Farsi/Hebrew (right-to-left) labels
Reported by: | dmorissette | Owned by: | dmorissette |
---|---|---|---|
Priority: | normal | Milestone: | 5.2 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | aboudreault, assefa, woodbri, project10 |
Description
Ticket #956 added support for right-to-left labels using the FriBidi library, but that still does not support joining of characters.
This ticket is about adding support for joining of characters. Sounds like FriBidi2 will include joining support and would be the way to go.
There was a thread on mapserver-users around 2008-03-12 with some useful information about this:
http://lists.osgeo.org/pipermail/mapserver-users/2008-March/054789.html
and that thread later on moved to mapserver-dev:
http://www.nabble.com/Re:-Farsi--right-to-left--labels-td16057385.html
Change History (11)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Here is the page with the appropiate links for information and downloads:
http://fribidi.freedesktop.org/wiki/
fribidi2 has been released as fribidi-0.19.1.tar.gz and can be downloaded from:
http://fribidi.org/download/fribidi-0.19.1.tar.gz
google for fribidi2 turns up lots of links, some with reported problems that might be helpful to sort out existing problems verses integration issues.
comment:3 by , 16 years ago
Cc: | added |
---|
I can confirm that MapServer works with version 0.19.1 of the FriBiDi library on win32. FTR, MapServer now uses deprecated functions (as of version 0.19.1).
The arabic joining/shaping looks great!
I needed to make a Visual Studio project to build the .dll/.lib and was then able to link this into MapServer. If anyone has any interest I can try to roll up my VS project files so anyone who's interested could also build on win32.
follow-up: 5 comment:4 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing as worksforme (nohing to do) since Fribidi v0.19.1 supports joining.
comment:5 by , 15 years ago
Replying to dmorissette:
Closing as worksforme (nohing to do) since Fribidi v0.19.1 supports joining.
Project10 would you please send me the .dll/.lib that works with Mapserver.
I'm running Mapserver on Win32 and I need to solve this arabic characters problems without going into Mapserver code and recompilation.
Thanks in Advance
comment:6 by , 15 years ago
mohmaher
You can get them from ms4w (http://maptools.org/ms4w/). latest version 2.3.1, should have this fix.
comment:7 by , 15 years ago
Sorry for being pushy..
But, I have the latest Binaries installed , and still the arabic is rendered in a reverse order ..
I'm using the ENCODING 'Windows-1256' in the Label section
Am I missing anything ?!
comment:8 by , 15 years ago
I am not sure about the encoding value. The test data I used when testing this had an encoding of: ENCODING "CP1256". Could you try it with this encoding?
comment:9 by , 15 years ago
Assefa ,
U r wonderful, "CP1256" did it.
Except almost one character which is the "J" or "Shift+j" in arabic keyboard of course.
Any Idea??
comment:10 by , 15 years ago
Not really. You might have more luck on the fribidi mailing list or main Mapserver mailing list.
Some useful info from TC Haddad on the mapserver-users list: