[smc-discuss] Permanent solution for ഖ്ര
Rajeesh K Nambiar
rajeeshknambiar at gmail.com
Mon Aug 19 00:02:57 PDT 2013
Santhosh,
On Sun, Aug 18, 2013 at 2:15 PM, santhosh.thottingal at gmail.com
<santhosh.thottingal at gmail.com> wrote:
> Hi,
>
> I was experimenting with the ഖ്ര issue and possibly all such cases like
> പ്പ്ര ന്റ്ര etc.
>
> Please read this carefully and let me know what do you think.
>
> Add a prebase form lookup
>
> +Lookup: 4 0 0 "'pref' Pre Base Forms in Malay+AQEA-lam lookup 8"
> {"'pref' Pre Base Forms in Malay+AQEA-lam lookup 8-1" } ['pref' ('DFLT'
> <'dflt' > 'mlym' <'dflt' > )
>
> let us take the case of മന്ത്രി case.
>
> For ്ര I am removing
>
> -Ligature2: "'pstf' Post Base Forms in Malay+AQEA-lam lookup 7 subtable"
> r3 xx
>
> psts for this case did not make any sense to me. As per my understanding
> of OT spec it should be pres. Lohit Malayalam uses pres.
>
> And adding
>
> +Ligature2: "'pref' Pre Base Forms in Malay+AQEA-lam lookup 8-1" r3 xx
>
>
> For ന്ത്ര:
>
> Remove these existing rules
> -Ligature2: "'pres' Pre Base Substitutions in Malay+AQEA-lam lookup 4
> subtable" n1th1 r4
> -Ligature2: "'pres' Pre Base Substitutions in Malay+AQEA-lam lookup 4
> subtable" n1th1 xx r3
These rules are/were needed for mlym spec, to work correctly with old
pango, ICU, Win XP et al.
>
> And add this
> +Ligature2: "'pres' Pre Base Substitutions in Malay+AQEA-lam lookup 4
> subtable" r4 n1th1
This is what I have added in the current mlm2 branch and it works
fine. No longer odd postbase form of Ra cases.
>
> that means
> ന്ത്ര <= ്ര + ന്ത because this is what we get after reordering.
>
> With this all ് ര cases fallbacks to correct shape with ്ര in left side
> and ന്ത്ര is rendered correctly.
>
> Font used Meera(master) with harfbuzz-ng
>
More information about the discuss
mailing list