Description of problem:
Meera font shipped with Fedora does not display the conjunct 'sple' correctly. It is working correctly with other fonts and same font in debian.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. open gedit
2. select Meera font
3. type ഡിസ്പ്ലെ (സ്പ്ലെ = unicode raw 0d38, 0d4d, 0d2a, 0d4d, 0d32)
സ്പ and ലെ displayed separately
സ് and പ്ലെ rendered separately
Created attachment 375771 [details]
സ്പ്ലെ (sple) in debian and fedora
can you update which pango version you are using? and also smc-fonts version
pravi@savannah:~$ apt-cache policy libpango1.0-0
I updated it to 1.26.1-1 now. It is working correctly
Meera font is from http://ftp.de.debian.org/debian/pool/main/t/ttf-indic-fonts/ttf-indic-fonts_0.5.6.tar.gz
dont know which version of meera fonts included in ttf-indic-fonts_0.5.6, but when i installed fonts from there tarball its working properly on fedora 12 as well.
We are using http://mirrors.igsobe.com/nongnu/smc/fonts/malayalam-fonts-04.2.zip in fedora, which is latest upstream version.
can you check which version of malayalam-fonts ttf-indic-fonts_0.5.6 uses, so we can add that in upstream and update package
while investigating more,
This bug is introduced in migration from malayalam-fonts-04.1.zip to malayalam-fonts-04.2.zip
since things work well with malayalam-fonts-04.1.zip
conjunct 'spa' is changed its property from 'pres' to 'akhn' from 04.1 to 04.2. See attachments.
Created attachment 376068 [details]
fontforge glyphinfo/Ligature for conjunct spa in Meera 04.1
'pres' Pre Base Substitutions in Malayalam lookup 4 subtable s1xxp1
Created attachment 376069 [details]
fontforge glyphinfo/Ligature for conjunct spa in Meera 04.2
'akhn' Akhand in Malayalam lookup 0 subtable s1 xx p1
Created attachment 404692 [details]
Proposed Solution in ttf
We added 4 rules
blwf: xx l3 -> l4
ccmp: s1p1 -> s1 xx p1
calt: s1p1 xx l3 -> s1p1 l4 (blwf)
calt: s1p1 l4 -> s1 xx p1 l4 (ccmp)
This works for Pango and should also work on Uniscribe, but not on ICU and QT(Harfbuzz).
(In reply to comment #9)
> Created an attachment (id=404692) [details]
> Proposed Solution in ttf
> We added 4 rules
> blwf: xx l3 -> l4
This rule will make the l4 glyph appear below any Consonant/Conjunct followed by xx l3(eg. ഡ്ല, യ്ല, റ്റ്ല etc.) and it will go against traditional orthography. Which means more contextual rules.
> ccmp: s1p1 -> s1 xx p1
> calt: s1p1 xx l3 -> s1p1 l4 (blwf)
> calt: s1p1 l4 -> s1 xx p1 l4 (ccmp)
> This works for Pango and should also work on Uniscribe, but not on ICU and
Created attachment 408315 [details]
fix only for pango
Should work in Pango now...
This needs ccmp feature, same is requested for icu and Harfbuzz:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Pango, Harfbuzz and Windows layout engine all appear to support CCMP for Indic. However, ICU still does not. The ICU developers are under the incorrect assumption that the Windows layout engine does not support CCMP for Indic.
So, in terms of CCMP support for Indic, it looks like we just need ICU fixed:
ccmp is very important feature, it gives good flexibility to font developers.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.
(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)
More information and reason for this action is here:
(In reply to Naveen Kumar from comment #11)
> Created attachment 408315 [details]
> fix only for pango
> Should work in Pango now...
Please update this bug by testing against latest harfbuzz if its still not giving expected result test it with proposed solution by Naveen kumar.
Is this bug still exits with latest version of harfbuzz and smc-fonts?
Created attachment 890709 [details]
Image showing bug still exist
Reviewed this issue with Ani last week. Issue is still pending and need contextual rules as mentioned by Naveen earlier.
Upstream bug available on https://savannah.nongnu.org/bugs/index.php?28043
Closing as a upstream.