[Talk-in] Indic rendering
Mikel Maron
mikel_maron at yahoo.com
Fri Mar 16 03:42:44 GMT 2012
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 <vardhan.naik at dsrede.in>
>To: cartonama-workshop at googlegroups.com
>Cc: "talk-in at openstreetmap.org" <talk-in at 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 <vardhan.naik at dsrede.in> 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 <mikel_maron at yahoo.com> 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 <vardhan.naik at dsrede.in>
>>>>To: cartonama-workshop at googlegroups.com
>>>>Cc: "talk-in at openstreetmap.org" <talk-in at 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 <mikel_maron at yahoo.com> 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.naik at dsrede.in
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>--
>>Best Regards,
>>Vardhan Naik | Didactics Software Rede Pvt. Ltd. | w. +91.80.26635445 | m. +91.9980073544| vardhan.naik at dsrede.in
>>
>>
>>
>>
>
>
>
>--
>Best Regards,
>Vardhan Naik | Didactics Software Rede Pvt. Ltd. | w. +91.80.26635445 | m. +91.9980073544| vardhan.naik at dsrede.in
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-in/attachments/20120315/9406f847/attachment.html>
More information about the Talk-in
mailing list