Re: [mapserver-users] Hindi and Thai text rendering (thomas bonfort)

2012-12-18 Thread Ian Walberg
Some more info, this issue has the same symptoms as we have. The initial
description and the correct.png and wrong.png show the same rendering
issue we are seeing.

http://code.google.com/p/android/issues/detail?id=4153

We are still investigating this but at the moment do not even know what
those parts of these characters are called so it's tricky to find
information.

Can anyone on the list read these characters?

Thanks

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Peter
Mallen
Sent: Monday, December 17, 2012 3:02 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Hindi and Thai text rendering (thomas
bonfort)

Hi Thomas,

I was able to properly render the Hindi characters from the screenshot
you had previously provided (Wazirabad), however we are still unable to
render the Hindi text that I had provided earlier (Mexico City).

Is there any way you could provide an image showing a Hindi translation
for Mexico City from your map?  This way I can match characters that I
know are not rendering properly on my side.

Thank You again for your help,


Peter Mallen

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
mapserver-users-requ...@lists.osgeo.org
Sent: Monday, December 17, 2012 8:58 AM
To: mapserver-users@lists.osgeo.org
Subject: mapserver-users Digest, Vol 59, Issue 32

Send mapserver-users mailing list submissions to
mapserver-users@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
mapserver-users-requ...@lists.osgeo.org

You can reach the person managing the list at
mapserver-users-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than
Re: Contents of mapserver-users digest...


Today's Topics:

   1. Re: Hindi and Thai text rendering (Ian Walberg)
   2. Re: Hindi and Thai text rendering (thomas bonfort) (Peter Mallen)


--

Message: 1
Date: Mon, 17 Dec 2012 11:50:52 -0500
From: Ian Walberg ian.walb...@airborne.aero
To: thomas bonfort thomas.bonf...@gmail.com,MapserverList
OSGEO
mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Hindi and Thai text rendering
Message-ID:
d12323219cedb24aa8fae53ff3f59fb403856...@be28.exg3.exghost.com
Content-Type: text/plain; charset=utf-8

Thomas,

 

We are currently using fibidi 0.19.2 and can try the later versions.

 

I have just had a look at 0.19.4 and 0.19.5 and I am not sure how to
build them, there does not appear to be build instructions in them or a
configure script.

 

Have you (or anyone else on the list) built these for Linux?

 

Thanks

 

Ian

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas
bonfort
Sent: Monday, December 17, 2012 12:48 AM
To: MapserverList OSGEO
Subject: Re: [mapserver-users] Hindi and Thai text rendering

 

 

 

On Mon, Dec 17, 2012 at 9:45 AM, thomas bonfort
thomas.bonf...@gmail.com wrote:

Peter,

We don't do any shaping directly inside mapserver, but rely on the
fribidi library to do that for us. Your mapfile definitions are correct
to activate this (i.e. it includes an LABEL.ENCODING parameter).

I'll leave it up to you to confirm that the image sample I sent you is
correct or not. If so, check that you have configured your mapserver
with fribidi enabled and uptodate (the supplied image was rendered with
0.19.2 . some stable distros use a very outdated fribidi version, so you
might need to upgrade manually) . If not, you can try with a bleeding
edge fribidi (0.19.5 was released a few days ago), and/or report the
issue or find help from the fribidi project directly.

 

please report back with your findings.

 

regards,

thomas

 

On Sun, Dec 16, 2012 at 2:31 AM, Peter Mallen
peter.mal...@airborne.aero wrote:

Hi Thomas,

Here is a link to a png Image I have created of using the simple Map
File I provided in the previous postings, this is exactly how the Hindi
text is rendering in Map Server:
http://www.maplusplus.com/images/Hindi_Incorrect.png

It is appearing incorrectly and should appear as shown in this link to
Google Translate:
http://tinyurl.com/cqlymgy

I am not sure if the Hindi you have provided is displaying correctly,
although it appears to be similar to what I looked up in Google
Translate.


Thank You for your help,

Peter Mallen




-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Sat 12/15/2012 10:36 AM
To: Peter Mallen
Cc: MapserverList OSGEO

Subject: Re: [mapserver-users] Hindi and Thai text rendering

Peter,
You don't provide the rendering that mapserver is producing, so it's
difficult

Re: [mapserver-users] Hindi and Thai text rendering (thomas bonfort)

2012-12-18 Thread Puneet Kishor

On Dec 18, 2012, at 10:53 AM, Ian Walberg ian.walb...@airborne.aero wrote:

 Some more info, this issue has the same symptoms as we have. The initial
 description and the correct.png and wrong.png show the same rendering
 issue we are seeing.
 
 http://code.google.com/p/android/issues/detail?id=4153
 
 We are still investigating this but at the moment do not even know what
 those parts of these characters are called so it's tricky to find
 information.
 
 Can anyone on the list read these characters?
 ..


Yes, I can, but I am not sure what you are asking. I will be happy to help you 
on/off list.



--
Puneet Kishor
Science and Data Policy at Creative Commons



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Hindi and Thai text rendering

2012-12-17 Thread thomas bonfort
On Mon, Dec 17, 2012 at 9:45 AM, thomas bonfort thomas.bonf...@gmail.comwrote:

 Peter,
 We don't do any shaping directly inside mapserver, but rely on the fribidi
 library to do that for us. Your mapfile definitions are correct to activate
 this (i.e. it includes an LABEL.ENCODING parameter).
 I'll leave it up to you to confirm that the image sample I sent you is
 correct or not. If so, check that you have configured your mapserver with
 fribidi enabled and uptodate (the supplied image was rendered with 0.19.2 .
 some stable distros use a very outdated fribidi version, so you might need
 to upgrade manually) . If not, you can try with a bleeding edge fribidi
 (0.19.5 was released a few days ago), and/or report the issue or find help
 from the fribidi project directly.

 please report back with your findings.

 regards,
 thomas


 On Sun, Dec 16, 2012 at 2:31 AM, Peter Mallen 
 peter.mal...@airborne.aerowrote:

 **

 Hi Thomas,

 Here is a link to a png Image I have created of using the simple Map File
 I provided in the previous postings, this is exactly how the Hindi text is
 rendering in Map Server:
 http://www.maplusplus.com/images/Hindi_Incorrect.png

 It is appearing incorrectly and should appear as shown in this link to
 Google Translate:
 http://tinyurl.com/cqlymgy

 I am not sure if the Hindi you have provided is displaying correctly,
 although it appears to be similar to what I looked up in Google Translate.


 Thank You for your help,

 Peter Mallen



 -Original Message-
 From: thomas bonfort 
 [mailto:thomas.bonf...@gmail.comthomas.bonf...@gmail.com
 ]
 Sent: Sat 12/15/2012 10:36 AM
 To: Peter Mallen
 Cc: MapserverList OSGEO
 Subject: Re: [mapserver-users] Hindi and Thai text rendering

 Peter,
 You don't provide the rendering that mapserver is producing, so it's
 difficult to compare. Is this rendering correct:
 http://osm.terriscope.fr/mapcache/tms/1.0.0/mapserver@g/15/23400/19085.png?

 --
 thomas


 On Sat, Dec 15, 2012 at 12:59 AM, Peter Mallen
 peter.mal...@airborne.aerowrote:

  Hello Everyone,
 
  I apologize for my previous posts as my url appears to have been too
  long, I have converted the link to a tiny url:
  http://tinyurl.com/cqlymgy
 
  As a reminder, this is a link showing how the Hindi characters should
  display.
 
  Thank You Again,
 
  Peter Mallen
 
 


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Hindi and Thai text rendering

2012-12-17 Thread Ian Walberg
Thomas,

 

We are currently using fibidi 0.19.2 and can try the later versions.

 

I have just had a look at 0.19.4 and 0.19.5 and I am not sure how to build 
them, there does not appear to be build instructions in them or a configure 
script.

 

Have you (or anyone else on the list) built these for Linux?

 

Thanks

 

Ian

 

From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonfort
Sent: Monday, December 17, 2012 12:48 AM
To: MapserverList OSGEO
Subject: Re: [mapserver-users] Hindi and Thai text rendering

 

 

 

On Mon, Dec 17, 2012 at 9:45 AM, thomas bonfort thomas.bonf...@gmail.com 
wrote:

Peter,

We don't do any shaping directly inside mapserver, but rely on the fribidi 
library to do that for us. Your mapfile definitions are correct to activate 
this (i.e. it includes an LABEL.ENCODING parameter).

I'll leave it up to you to confirm that the image sample I sent you is correct 
or not. If so, check that you have configured your mapserver with fribidi 
enabled and uptodate (the supplied image was rendered with 0.19.2 . some stable 
distros use a very outdated fribidi version, so you might need to upgrade 
manually) . If not, you can try with a bleeding edge fribidi (0.19.5 was 
released a few days ago), and/or report the issue or find help from the fribidi 
project directly.

 

please report back with your findings.

 

regards,

thomas

 

On Sun, Dec 16, 2012 at 2:31 AM, Peter Mallen peter.mal...@airborne.aero 
wrote:

Hi Thomas,

Here is a link to a png Image I have created of using the simple Map File I 
provided in the previous postings, this is exactly how the Hindi text is 
rendering in Map Server:
http://www.maplusplus.com/images/Hindi_Incorrect.png

It is appearing incorrectly and should appear as shown in this link to Google 
Translate:
http://tinyurl.com/cqlymgy

I am not sure if the Hindi you have provided is displaying correctly, although 
it appears to be similar to what I looked up in Google Translate.


Thank You for your help,

Peter Mallen




-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Sat 12/15/2012 10:36 AM
To: Peter Mallen
Cc: MapserverList OSGEO

Subject: Re: [mapserver-users] Hindi and Thai text rendering

Peter,
You don't provide the rendering that mapserver is producing, so it's
difficult to compare. Is this rendering correct:
http://osm.terriscope.fr/mapcache/tms/1.0.0/mapserver@g/15/23400/19085.png ?

--
thomas


On Sat, Dec 15, 2012 at 12:59 AM, Peter Mallen
peter.mal...@airborne.aerowrote:

 Hello Everyone,

 I apologize for my previous posts as my url appears to have been too
 long, I have converted the link to a tiny url:
 http://tinyurl.com/cqlymgy

 As a reminder, this is a link showing how the Hindi characters should
 display.

 Thank You Again,

 Peter Mallen



 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Hindi and Thai text rendering (thomas bonfort)

2012-12-17 Thread Peter Mallen
Hi Thomas,

I believe we are using fribidi but I am not sure which version, I will
look further into this and report back to with my findings.

Thank You,


Peter Mallen

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
mapserver-users-requ...@lists.osgeo.org
Sent: Monday, December 17, 2012 7:18 AM
To: mapserver-users@lists.osgeo.org
Subject: mapserver-users Digest, Vol 59, Issue 28

Send mapserver-users mailing list submissions to
mapserver-users@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
mapserver-users-requ...@lists.osgeo.org

You can reach the person managing the list at
mapserver-users-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than
Re: Contents of mapserver-users digest...


Today's Topics:

   1. Re: Hindi and Thai text rendering (thomas bonfort)
   2. [TinyOWS] TinyOWS 1.1.0 and the old good axis order trouble
  (Rahkonen Jukka)
   3. Re: Raster color table (Daniel Morissette)
   4. Problem with Transparency and IMAGECOLOR (Johannes Weskamm)
   5. JPEG and OVERSAMPLE_RATIO (C?dric MOULLET)
   6. Re: JPEG and OVERSAMPLE_RATIO (C?dric MOULLET)


--

Message: 1
Date: Mon, 17 Dec 2012 09:47:46 +0100
From: thomas bonfort thomas.bonf...@gmail.com
To: MapserverList OSGEO mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Hindi and Thai text rendering
Message-ID:

caom3y2iossdh2dcrntqeurhcojdh42w2vwunb3q0fzq5p2d...@mail.gmail.com
Content-Type: text/plain; charset=utf-8

On Mon, Dec 17, 2012 at 9:45 AM, thomas bonfort
thomas.bonf...@gmail.comwrote:

 Peter,
 We don't do any shaping directly inside mapserver, but rely on the 
 fribidi library to do that for us. Your mapfile definitions are 
 correct to activate this (i.e. it includes an LABEL.ENCODING
parameter).
 I'll leave it up to you to confirm that the image sample I sent you is

 correct or not. If so, check that you have configured your mapserver 
 with fribidi enabled and uptodate (the supplied image was rendered
with 0.19.2 .
 some stable distros use a very outdated fribidi version, so you might 
 need to upgrade manually) . If not, you can try with a bleeding edge 
 fribidi
 (0.19.5 was released a few days ago), and/or report the issue or find 
 help from the fribidi project directly.

 please report back with your findings.

 regards,
 thomas


 On Sun, Dec 16, 2012 at 2:31 AM, Peter Mallen
peter.mal...@airborne.aerowrote:

 **

 Hi Thomas,

 Here is a link to a png Image I have created of using the simple Map 
 File I provided in the previous postings, this is exactly how the 
 Hindi text is rendering in Map Server:
 http://www.maplusplus.com/images/Hindi_Incorrect.png

 It is appearing incorrectly and should appear as shown in this link 
 to Google Translate:
 http://tinyurl.com/cqlymgy

 I am not sure if the Hindi you have provided is displaying correctly,

 although it appears to be similar to what I looked up in Google
Translate.


 Thank You for your help,

 Peter Mallen



 -Original Message-
 From: thomas bonfort 
 [mailto:thomas.bonf...@gmail.comthomas.bonf...@gmail.com
 ]
 Sent: Sat 12/15/2012 10:36 AM
 To: Peter Mallen
 Cc: MapserverList OSGEO
 Subject: Re: [mapserver-users] Hindi and Thai text rendering

 Peter,
 You don't provide the rendering that mapserver is producing, so it's 
 difficult to compare. Is this rendering correct:

http://osm.terriscope.fr/mapcache/tms/1.0.0/mapserver@g/15/23400/19085.p
ng?

 --
 thomas


 On Sat, Dec 15, 2012 at 12:59 AM, Peter Mallen
 peter.mal...@airborne.aerowrote:

  Hello Everyone,
 
  I apologize for my previous posts as my url appears to have been 
  too long, I have converted the link to a tiny url:
  http://tinyurl.com/cqlymgy
 
  As a reminder, this is a link showing how the Hindi characters 
  should display.
 
  Thank You Again,
 
  Peter Mallen
 
 


-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121217/0
ff48ff6/attachment-0001.html

--

Message: 2
Date: Mon, 17 Dec 2012 10:16:06 +
From: Rahkonen Jukka jukka.rahko...@mmmtike.fi
To: 'Mapserver-Users (mapserver-users@lists.osgeo.org)'
mapserver-users@lists.osgeo.org
Subject: [mapserver-users] [TinyOWS] TinyOWS 1.1.0 and the old good
axisorder trouble
Message-ID:
84446def76453c439e9e97e438e13a637c1...@suutari.haapa.mmm.fi
Content-Type: text/plain; charset=us-ascii

Hi,

I have been running TinyOWS r558 for quite a long time because it is
dealing almost right with the axis order of the projections I am
commonly using. Now I had a fast try with the current TinyOWS 1.1.0
version

Re: [mapserver-users] Hindi and Thai text rendering (thomas bonfort)

2012-12-17 Thread Peter Mallen
Hi Thomas,

I was able to properly render the Hindi characters from the screenshot
you had previously provided (Wazirabad), however we are still unable to
render the Hindi text that I had provided earlier (Mexico City).

Is there any way you could provide an image showing a Hindi translation
for Mexico City from your map?  This way I can match characters that I
know are not rendering properly on my side.

Thank You again for your help,


Peter Mallen

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
mapserver-users-requ...@lists.osgeo.org
Sent: Monday, December 17, 2012 8:58 AM
To: mapserver-users@lists.osgeo.org
Subject: mapserver-users Digest, Vol 59, Issue 32

Send mapserver-users mailing list submissions to
mapserver-users@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
mapserver-users-requ...@lists.osgeo.org

You can reach the person managing the list at
mapserver-users-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than
Re: Contents of mapserver-users digest...


Today's Topics:

   1. Re: Hindi and Thai text rendering (Ian Walberg)
   2. Re: Hindi and Thai text rendering (thomas bonfort) (Peter Mallen)


--

Message: 1
Date: Mon, 17 Dec 2012 11:50:52 -0500
From: Ian Walberg ian.walb...@airborne.aero
To: thomas bonfort thomas.bonf...@gmail.com,MapserverList
OSGEO
mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Hindi and Thai text rendering
Message-ID:
d12323219cedb24aa8fae53ff3f59fb403856...@be28.exg3.exghost.com
Content-Type: text/plain; charset=utf-8

Thomas,

 

We are currently using fibidi 0.19.2 and can try the later versions.

 

I have just had a look at 0.19.4 and 0.19.5 and I am not sure how to
build them, there does not appear to be build instructions in them or a
configure script.

 

Have you (or anyone else on the list) built these for Linux?

 

Thanks

 

Ian

 

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas
bonfort
Sent: Monday, December 17, 2012 12:48 AM
To: MapserverList OSGEO
Subject: Re: [mapserver-users] Hindi and Thai text rendering

 

 

 

On Mon, Dec 17, 2012 at 9:45 AM, thomas bonfort
thomas.bonf...@gmail.com wrote:

Peter,

We don't do any shaping directly inside mapserver, but rely on the
fribidi library to do that for us. Your mapfile definitions are correct
to activate this (i.e. it includes an LABEL.ENCODING parameter).

I'll leave it up to you to confirm that the image sample I sent you is
correct or not. If so, check that you have configured your mapserver
with fribidi enabled and uptodate (the supplied image was rendered with
0.19.2 . some stable distros use a very outdated fribidi version, so you
might need to upgrade manually) . If not, you can try with a bleeding
edge fribidi (0.19.5 was released a few days ago), and/or report the
issue or find help from the fribidi project directly.

 

please report back with your findings.

 

regards,

thomas

 

On Sun, Dec 16, 2012 at 2:31 AM, Peter Mallen
peter.mal...@airborne.aero wrote:

Hi Thomas,

Here is a link to a png Image I have created of using the simple Map
File I provided in the previous postings, this is exactly how the Hindi
text is rendering in Map Server:
http://www.maplusplus.com/images/Hindi_Incorrect.png

It is appearing incorrectly and should appear as shown in this link to
Google Translate:
http://tinyurl.com/cqlymgy

I am not sure if the Hindi you have provided is displaying correctly,
although it appears to be similar to what I looked up in Google
Translate.


Thank You for your help,

Peter Mallen




-Original Message-
From: thomas bonfort [mailto:thomas.bonf...@gmail.com]
Sent: Sat 12/15/2012 10:36 AM
To: Peter Mallen
Cc: MapserverList OSGEO

Subject: Re: [mapserver-users] Hindi and Thai text rendering

Peter,
You don't provide the rendering that mapserver is producing, so it's
difficult to compare. Is this rendering correct:
http://osm.terriscope.fr/mapcache/tms/1.0.0/mapserver@g/15/23400/19085.p
ng ?

--
thomas


On Sat, Dec 15, 2012 at 12:59 AM, Peter Mallen
peter.mal...@airborne.aerowrote:

 Hello Everyone,

 I apologize for my previous posts as my url appears to have been too 
 long, I have converted the link to a tiny url:
 http://tinyurl.com/cqlymgy

 As a reminder, this is a link showing how the Hindi characters should 
 display.

 Thank You Again,

 Peter Mallen



 

-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121217/9
2407f02/attachment-0001.html

--

Message: 2
Date: Mon, 17

Re: [mapserver-users] Hindi and Thai text rendering

2012-12-14 Thread Peter Mallen
Hello Everyone,

We are having issues displaying Hindi in Map Server.  The characters
display correctly in text editors we use, as well as excel, open office
documents and in our sqlite database.  Certain characters appear to flip
around when displaying in Map Sever.  We have tried various different
fonts including: arialuni, devangari, gargi, etc.  We have also tried
using several data types: shapefiles, sqlite databases. 

The following is a link showing how the Hindi characters should display:
http://translate.google.com/#hi/en/%E0%A4%AE%E0%A5%87%E0%A4%95%E0%A5%8D%
E0%A4%B8%E0%A4%BF%E0%A4%95%E0%A5%8B%20%E0%A4%B8%E0%A4%BF%E0%A4%9F%E0%A5%
80

I have included a basic Map File where I am using the TEXT tag to
display the Hindi translation using an HTML string of entities.


MAP
  NAME 'Simple'
  STATUS ON
  SIZE 1280 768
EXTENT -180 -90 180 90

  UNITS MILES

  IMAGECOLOR 0 0 70
  IMAGETYPE PNG

#CONFIG MS_ERRORFILE /data2/Hindi_Testing/mapserver.log
#change this to match your configuration

DEBUG 5

FONTSET fontset.txt  #This will need to be updated to the
location of the users fontset.txt.  We are using arialuni. 
 
  LAYER
 DEBUG 5
NAME cities1
TYPE annotation
STATUS DEFAULT

FEATURE
   POINTS -99.169998 19.42 END
END
  
CLASS
#This HTML string is for 'Mexico City' translated into
Hindi.  Mapserver does not display this correctly.
TEXT
'#x092e;#x0947;#x0915;#x094d;#x0938;#x093f;#x0915;#x094b;#x0020
;#x0938;#x093f;#x091f;#x0940;'

  LABEL
FONT arialuni
TYPE truetype
ENCODING 'UTF-8'
SIZE 30
COLOR 200 200 0
POSITION CC
PARTIALS FALSE
ALIGN center
 
  END
END

  END

END # Map File



Thank You,

Peter Mallen



-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of
mapserver-users-requ...@lists.osgeo.org
Sent: Tuesday, June 19, 2012 6:01 AM
To: mapserver-users@lists.osgeo.org
Subject: mapserver-users Digest, Vol 53, Issue 42

Send mapserver-users mailing list submissions to
mapserver-users@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
mapserver-users-requ...@lists.osgeo.org

You can reach the person managing the list at
mapserver-users-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific than
Re: Contents of mapserver-users digest...


Today's Topics:

   1. Hindi and Thai text rendering (Ian Walberg)
   2. Re: Hindi and Thai text rendering (Jeff McKenna)
   3. Re: Hindi and Thai text rendering (Ian Walberg)
   4. Re: Hindi and Thai text rendering (Stephen Woodbridge)
   5. Re: Hindi and Thai text rendering (Ian Walberg)
   6. Mapfile Variables (Matt McClelland)
   7. Re: Hindi and Thai text rendering (Stephen Woodbridge)


--

Message: 1
Date: Mon, 18 Jun 2012 17:45:39 -0400
From: Ian Walberg ian.walb...@airborne.aero
To: mapserver-users@lists.osgeo.org,  mapserver-...@lists.osgeo.org
Subject: [mapserver-users] Hindi and Thai text rendering
Message-ID:
d12323219cedb24aa8fae53ff3f59fb40362b...@be28.exg3.exghost.com
Content-Type: text/plain; charset=us-ascii

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?

 

Many thanks

 

Ian

-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120618/7
24b9741/attachment-0001.html

--

Message: 2
Date: Mon, 18 Jun 2012 19:06:09 -0300
From: Jeff McKenna jmcke...@gatewaygeomatics.com
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Hindi and Thai text rendering
Message-ID: 4fdfa651.80...@gatewaygeomatics.com
Content-Type: text/plain; charset=ISO-8859-1

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

Re: [mapserver-users] Hindi and Thai text rendering

2012-06-19 Thread Stephen Woodbridge

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: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen
Woodbridge
Sent: Monday, June 18, 2012 8:47 PM
To: mapserver-users@lists.osgeo.org
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: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff
McKenna
Sent: Monday, June 18, 2012 3:06 PM
To: mapserver-users@lists.osgeo.org
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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Hindi and Thai text rendering

2012-06-18 Thread Ian Walberg
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?

 

Many thanks

 

Ian

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Hindi and Thai text rendering

2012-06-18 Thread Jeff McKenna
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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Hindi and Thai text rendering

2012-06-18 Thread Ian Walberg
Jeff,

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

Regards

Ian

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff
McKenna
Sent: Monday, June 18, 2012 3:06 PM
To: mapserver-users@lists.osgeo.org
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
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Hindi and Thai text rendering

2012-06-18 Thread Ian Walberg
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: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen
Woodbridge
Sent: Monday, June 18, 2012 8:47 PM
To: mapserver-users@lists.osgeo.org
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: mapserver-users-boun...@lists.osgeo.org
 [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jeff 
 McKenna
 Sent: Monday, June 18, 2012 3:06 PM
 To: mapserver-users@lists.osgeo.org
 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
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users