Hi Ian,

The symptoms you are describing are similar to what I have run into with rendering Arabic. What we found was that the TTF we were using was missing some glyphs related to connecting characters in the script. My client Identified these and we were able to locate a different font that had better glyph coverage for Arabic. I don't know anything about Hindi and Thai so looking at you results will not help, but it does sounds like the basic rendering is working.

Assuming the above is true, then you would need to identify the characters that are wrong or missing by there character codes and then find a font that has support for those codes. If you think fribidi is not handling things correctly, I have found their mailing list to be very helpful and they suggested changes to how we used their code in mapserver in the past to filter out some zero width space utf8 codes that were causing problems for Arabic.

-Steve W

On 6/18/2012 11:51 PM, Ian Walberg wrote:
Stephen,

We can provide some examples tomorrow but we are seeing some characters
not matching what is displayed in other applications.

Overall the behaviour appears to match this description
https://github.com/mapserver/mapserver/issues/2591

Regards

Ian

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Stephen
Woodbridge
Sent: Monday, June 18, 2012 8:47 PM
To: [email protected]
Subject: Re: [mapserver-users] Hindi and Thai text rendering

On 6/18/2012 6:46 PM, Ian Walberg wrote:
Jeff,

That is encouraging, however our concern is that the character
rendering is not supported.

Ian,

What do you mean by this statement?

What have you tried? ie: what does you mapfile look like, what font are
you using, etc?

For this to work you need the following:

1. a mapserver build with fribidi-0.19.2 2. a truetype fone file that
supports all the glyphs that you need 3. your mapfile and data
configured correctly such that the text in the data is appropriately for
the ENCODING and that that then matches the ttf.

-Steve W

Regards

Ian

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jeff
McKenna
Sent: Monday, June 18, 2012 3:06 PM
To: [email protected]
Subject: Re: [mapserver-users] Hindi and Thai text rendering

On 12-06-18 6:45 PM, Ian Walberg wrote:
Hello list,



We are seeing some issues displaying Hindi and Thai text, from a
quick

search it looks like this may be related to there not being support
for Indic scripts.



Can anyone confirm if these are supported? And if they are not are
there any workarounds?


Hello Ian,

I can for sure confirm that Thai text is supported, as it was one of
the languages tested during the initial implementation of the source
code (see the notes at the bottom of
http://www.mapserver.org/mapfile/labelencoding.html).

There's always a chance that things have changed with MapServer 6.0,
but if you provide a small data sample, font, and simple one layer
mapfile I am sure others on this email list can test and provide
feedback for you.

-jeff




--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to