[HarfBuzz] Malayalam rendering fixes

Praveen A pravi.a at gmail.com
Wed Jun 10 01:21:57 PDT 2009


Hi,

I'm staring to send the changes we need to fix many Malayalam
rendering issues. Original patch is
http://qt.gitorious.org/~pravi/qt/pravis-clone/commit/4a97495a9f15361f3734cfa0b15a238a21f66c01.diff

I will still need some more discussion in the community about some changes.

First issue, we have clarity, is Samvruthokaram.

--- a/src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-indic.cpp
@@ -1731,6 +1770,9 @@
             if (script == HB_Script_Bengali && pos == 1 &&
                  (uc[0] == 0x0985 || uc[0] == 0x098f))
                 break;
+	   // Patch by suresh for Malayalam SAMVRUTHOKARA
+	   if (script == HB_Script_Malayalam && uc[pos] == 0x0d4d &&
uc[pos-1] == 0x0d41)
+	        break;
             goto finish;
         case Nukta:
             if (state == Consonant)


Test case is ട്ടു് (there should not be a dotted circle).

Pango and ICU references
http://bugzilla.gnome.org/show_bug.cgi?id=504810
http://bugs.icu-project.org/trac/ticket/6108
http://www.qtsoftware.com/developer/task-tracker/index_html?method=entry&id=205719

Regards
Praveen
-- 
പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
Join The DRM Elimination Crew Now!
http://fci.wikia.com/wiki/Anti-DRM-Campaign



More information about the HarfBuzz mailing list