pravins / lohit

Lohit fonts family project to supporting Indian scripts.
Other
39 stars 11 forks source link

[ml_IN] Improper contextualization of glyph lllamlm_viramamlm.half_vamlm #39

Closed snehakore closed 10 years ago

snehakore commented 10 years ago

Actual : llla_virama_half_va

Expected : There should be more clarified & proper visibility for the glyph .

pravins commented 10 years ago

Thanks to Cibu for nicely written article http://www.unicode.org/L2/L2007/07393-mala-dot-reph.pdf Three cases

  1. u0d34 (ഴ) + ud4d (്) + u0d35 (വ) -> stacked 0d35 shape
  2. u0D34 (ഴ)+ u0D4D (്) + u200C (‌) + u0D35 (വ) -> With non-joiner no change
  3. u0D34 (ഴ)+ u0D4D (്) + u200D (‍) + u0D35 (വ) -> horizontal ligature

I think we should follow this.

santhoshtr commented 10 years ago

Thanks to Cibu for nicely written article http://www.unicode.org/L2/L2007/07393-mala-dot-reph.pdf

It is a "recommendation proposal", dated 2007-10-15 And @pravins quoted it wrongly. As per page 6 of that "proposal", ZWJ is between ഴ and ്. That convention does not exist.

For a minimal Malayalam font like Lohit, I would use u0d34 (ഴ) + ud4d (്) + u0d35 (വ) should have ഴ with 0d35 sign- Normal rendering behavior with CONS+ ud4d (്) + u0d35 (വ) u0d34 (ഴ) + ud4d (്) + ZWNJ + u0d35 (വ) should not form ligature.-Normal zwnj ligature breaking behavior

Stacked case does not exist for Lohit since it is minimal font. You may also refer NotoSansMalayalam implementation

pravins commented 10 years ago

@santhoshtr yes, as per http://www.unicode.org/L2/L2007/07393-mala-dot-reph.pdf, V3 is -> ZWJ is after uod34. and not after u0d4d.

Agree with you.

  1. u0d34 + u0d4d + u0d35 => should form "u0d4d u0d35" ligature
  2. u0d34 + u0d4d + ZWNJ + u0d35 => should not form "u0d4d u0d35" ligature

That is the default behavior of ZWNJ.

I only have doubt because of https://bugzilla.redhat.com/show_bug.cgi?id=523166 , In this bug ani expecting No.2 and that is without use of ZWNJ. Unfortunately there is no attestation for same. If there is no reference, i think we should ignore that bug report.

So Malayalam Modern script does not uses stacked form of u0D35?

santhoshtr commented 10 years ago

So Malayalam Modern script does not uses stacked form of u0D35?

The general theme of Modern script is to reduce the number of ligatures and avoids stacking. That is why Meera has lot of those stacked forms and Lohit does not have them

There is no written rule that a modern script cannot have stacked form. But if a font claiming as Modern script use a stacked form, to make the presentation consistent, you will have to add more such forms and finally it cannot be called as Modern script font at all.

(ps: I have explained this in the ongoing fontbook)

snehakore commented 10 years ago

Even in TDIL documentation for malayalam modern script, They haven't specified anything about these stacked forms. so will ignore this,for now since we are not having any reference to follow.

On Fri, Feb 7, 2014 at 3:13 PM, Santhosh Thottingal < notifications@github.com> wrote:

So Malayalam Modern script does not uses stacked form of u0D35?

The general theme of Modern script is to reduce the number of ligatures and avoids stacking. That is why Meera has lot of those stacked forms and Lohit does not have them

There is no written rule that a modern script cannot have stacked form. But if a font claiming as Modern script use a stacked form, to make the presentation consistent, you will have to add more such forms and finally it cannot be called as Modern script font at all.

(ps: I have explained this in the ongoing fontbook)

Reply to this email directly or view it on GitHubhttps://github.com/pravins/lohit/issues/39#issuecomment-34421673 .

pravins commented 10 years ago

@santhoshtr thanks, looks clear now. @snehakore Good catch !! So we dont have any reference for stacked ligature :+1: It makes issue easy to fix. lets fix it then, looking for next release in coming week.

snehakore commented 10 years ago

ok , will surely try to fix this .

On Fri, Feb 7, 2014 at 3:44 PM, Pravin Satpute notifications@github.comwrote:

@santhoshtr https://github.com/santhoshtr thanks, looks clear now. @snehakore https://github.com/snehakore Good catch !! So we dont have any reference for stacked ligature [image: :+1:] It makes issue easy to fix. lets fix it then, looking for next release in coming week.

Reply to this email directly or view it on GitHubhttps://github.com/pravins/lohit/issues/39#issuecomment-34423631 .

pravins commented 10 years ago

Resolved in 2.92.0 (https://fedorahosted.org/releases/l/o/lohit/lohit-malayalam-2.92.0.tar.gz) release, closing..

Thanks @santhoshtr for your help.