Re: [Talk-in] Indic rendering
Vardhan The problem here isn't Android ... it's server side, where Mapnik renders the tiles. -Mkel * Mikel Maron * +14152835207 @mikel s:mikelmaron > > From: Vardhan Naik >To: cartonama-works...@googlegroups.com >Cc: "talk-in@openstreetmap.org" >Sent: Friday, March 16, 2012 12:20 AM >Subject: Re: Indic rendering > > >Hi Mikel. > > >I was able to replicate the issue as per sandbox in my machine. >http://mapnik-utils.googlecode.com/svn/sandbox/indic_fonts/ > > >Googled a bit and think this is an issue for Android .. though solved in ICS >using a open type software >called http://freedesktop.org/wiki/Software/HarfBuzz for rendering glyphs. > > >Interesting Links for Android. >https://github.com/CyanogenMod/android_external_webkit/blob/ics/Source/WebCore/platform/graphics/android/FontAndroid.cpp > >http://androidandsandu.blogspot.com/2011/12/how-to-add-indian-languages-to-android.html > > > > > >Regards >Vardhan > > >On Thu, Mar 15, 2012 at 11:17 AM, Vardhan Naik wrote: > >http://mapnik-utils.googlecode.com/svn/sandbox/indic_fonts/ >> >> >>one method to test the issue using python. will test and let you know if I >>make headway. >> >> >> >>On Thu, Mar 15, 2012 at 10:56 AM, Mikel Maron wrote: >> >>Vardhan >>> >>> >>>Different issue from CJK characters. >>> >>> >>>"I believe the underlying issue here is that Mapnik is rendering the string >>>one character at a time in order to make the characters follow along the >>>path. These Indic languages use ligatures where the rendering depends on >>>multi-character sequences and can not be correctly rendered one character at >>>a time," >>> >>> >>>https://github.com/mapnik/mapnik/issues/112#issuecomment-2365351 >>> >>> >>>Mikel >>> >>>* Mikel Maron * +14152835207 @mikel s:mikelmaron >>> >>> From: Vardhan Naik To: cartonama-works...@googlegroups.com Cc: "talk-in@openstreetmap.org" Sent: Thursday, March 15, 2012 10:52 AM Subject: Re: Indic rendering Hi Mikel, Am not a Map person.. but found this for chinese. is that we miss the ttf file or so? on the server? Optional: CJK font fallback support Currently, mapnik includes a font to support CJK characters (Chinese, Japanese, Korean, et. al. or more generally East Asia). To add support you need to open the file inc/fontset-settings.xml.inc and uncomment the lines that have "unifont Medium". Older mapnik versions did not have unifont included. There you need to: 1. Download the GNU Unifont Glyphs 2. Unpack and put the ttf file in your /usr/local/lib/mapnik/fonts (or appropriate path) directory with the other Mapnik fonts. On Thu, Mar 15, 2012 at 7:59 AM, Mikel Maron wrote: Hi > > >During the cartonama workshop, we discovered that Mapnik still has issues >with rendering Indic fonts. > > >http://tiles.mapbox.com/groundtruth/map/map-busd5lm5 > > > >It's a known issue. > > >https://github.com/mapnik/mapnik/issues/112 > > >Artem has looked into a bit, but hasn't proceeded that far. Anyone >knowledgeable in handling Indic fonts that might be able to advise? > > >-Mikel >* Mikel Maron * +14152835207 @mikel s:mikelmaron -- Best Regards, Vardhan Naik | Didactics Software Rede Pvt. Ltd. | w. +91.80.26635445 | m. +91.9980073544| vardhan.n...@dsrede.in >> >> >> >>-- >>Best Regards, >>Vardhan Naik | Didactics Software Rede Pvt. Ltd. | w. +91.80.26635445 >>| m. +91.9980073544| vardhan.n...@dsrede.in >> >> >> >> > > > >-- >Best Regards, >Vardhan Naik | Didactics Software Rede Pvt. Ltd. | w. +91.80.26635445 >| m. +91.9980073544| vardhan.n...@dsrede.in > > > > > >___ Talk-in mailing list Talk-in@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-in
Re: [Talk-in] Indic rendering
On Thu, Mar 15, 2012 at 10:56 AM, Mikel Maron wrote: > Vardhan > > Different issue from CJK characters. > > "I believe the underlying issue here is that Mapnik is rendering the string > one character at a time in order to make the characters follow along the > path. These Indic languages use ligatures where the rendering depends on > multi-character sequences and can not be correctly rendered one character at > a time," > > https://github.com/mapnik/mapnik/issues/112#issuecomment-2365351 Let me take this problem to the Indic language computing community and find out what can be done. > > Mikel > > * Mikel Maron * +14152835207 @mikel s:mikelmaron > > > From: Vardhan Naik > To: cartonama-works...@googlegroups.com > Cc: "talk-in@openstreetmap.org" > Sent: Thursday, March 15, 2012 10:52 AM > Subject: Re: Indic rendering > > Hi Mikel, > > Am not a Map person.. but found this for chinese. is that we miss the ttf > file or so? on the server? > > Optional: CJK font fallback support > > Currently, mapnik includes a font to support CJK characters (Chinese, > Japanese, Korean, et. al. or more generally East Asia). To add support you > need to open the file inc/fontset-settings.xml.inc and uncomment the lines > that have "unifont Medium". > Older mapnik versions did not have unifont included. There you need to: > > Download the GNU Unifont Glyphs > Unpack and put the ttf file in your /usr/local/lib/mapnik/fonts (or > appropriate path) directory with the other Mapnik fonts. > > > > On Thu, Mar 15, 2012 at 7:59 AM, Mikel Maron wrote: > > Hi > > During the cartonama workshop, we discovered that Mapnik still has issues > with rendering Indic fonts. > > http://tiles.mapbox.com/groundtruth/map/map-busd5lm5 > > It's a known issue. > > https://github.com/mapnik/mapnik/issues/112 > > Artem has looked into a bit, but hasn't proceeded that far. Anyone > knowledgeable in handling Indic fonts that might be able to advise? > > -Mikel > > * Mikel Maron * +14152835207 @mikel s:mikelmaron > > > > > -- > Best Regards, > Vardhan Naik | Didactics Software Rede Pvt. Ltd. | w. +91.80.26635445 > | m. +91.9980073544| vardhan.n...@dsrede.in > > > > -- Sajjad Anwar | W: http://sajjad.in | T: @geohacker ___ Talk-in mailing list Talk-in@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-in
Re: [Talk-in] Indic rendering
Vardhan Different issue from CJK characters. "I believe the underlying issue here is that Mapnik is rendering the string one character at a time in order to make the characters follow along the path. These Indic languages use ligatures where the rendering depends on multi-character sequences and can not be correctly rendered one character at a time," https://github.com/mapnik/mapnik/issues/112#issuecomment-2365351 Mikel * Mikel Maron * +14152835207 @mikel s:mikelmaron > > From: Vardhan Naik >To: cartonama-works...@googlegroups.com >Cc: "talk-in@openstreetmap.org" >Sent: Thursday, March 15, 2012 10:52 AM >Subject: Re: Indic rendering > > >Hi Mikel, > > >Am not a Map person.. but found this for chinese. is that we miss the ttf file >or so? on the server? > > >Optional: CJK font fallback support >Currently, mapnik includes a font to support CJK characters (Chinese, >Japanese, Korean, et. al. or more generally East Asia). To add support you >need to open the file inc/fontset-settings.xml.inc and uncomment the lines >that have "unifont Medium". >Older mapnik versions did not have unifont included. There you need to: > 1. Download the GNU Unifont Glyphs > 2. Unpack and put the ttf file in your /usr/local/lib/mapnik/fonts (or > appropriate path) directory with the other Mapnik fonts. > > > >On Thu, Mar 15, 2012 at 7:59 AM, Mikel Maron wrote: > >Hi >> >> >>During the cartonama workshop, we discovered that Mapnik still has issues >>with rendering Indic fonts. >> >> >>http://tiles.mapbox.com/groundtruth/map/map-busd5lm5 >> >> >> >>It's a known issue. >> >> >>https://github.com/mapnik/mapnik/issues/112 >> >> >>Artem has looked into a bit, but hasn't proceeded that far. Anyone >>knowledgeable in handling Indic fonts that might be able to advise? >> >> >>-Mikel >>* Mikel Maron * +14152835207 @mikel s:mikelmaron > > > >-- >Best Regards, >Vardhan Naik | Didactics Software Rede Pvt. Ltd. | w. +91.80.26635445 >| m. +91.9980073544| vardhan.n...@dsrede.in > > > > > >___ Talk-in mailing list Talk-in@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-in
[Talk-in] Indic rendering
Hi During the cartonama workshop, we discovered that Mapnik still has issues with rendering Indic fonts. http://tiles.mapbox.com/groundtruth/map/map-busd5lm5 It's a known issue. https://github.com/mapnik/mapnik/issues/112 Artem has looked into a bit, but hasn't proceeded that far. Anyone knowledgeable in handling Indic fonts that might be able to advise? -Mikel * Mikel Maron * +14152835207 @mikel s:mikelmaron___ Talk-in mailing list Talk-in@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-in