Bug 2036458

Summary: Lohit Punjabi font does not implement all unicode specs
Product: [Fedora] Fedora Reporter: Parminder Lehal <plehal>
Component: lohit-gurmukhi-fontsAssignee: Jens Petersen <petersen>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: fonts-bugs, i18n-bugs, petersen, psatpute, vishalvijayraghavan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-12 05:30:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
unicode spec.
none
font file showing issue fixed/or not having the issue/properly rendering
none
proper rendering
none
noto sans gurmukhi issue none

Description Parminder Lehal 2022-01-01 22:03:41 UTC
Created attachment 1848544 [details]
unicode spec.

Description of problem:
Lohit Punjabi Font does not recognize some subjoined consonants which should be recognized per Unicode specs and are  recognised by other fonts from other vendors.

Version-Release number of selected component (if applicable):
All

How reproducible:

Always

Steps to Reproduce:
1. Try to type subjoined consonants with characters ਕ,ਗ,ਚ,ਤ,ਥ,ਟ,ਠ,ਦ,ਧ,ਨ
2. It shows as ਪ੍ਕ , ਪ੍ਗ, ਪ੍ਚ......instead of these letters showing properly at the bottom of preceding character. 


Actual results:ਪ੍ਕ , ਪ੍ਗ, ਪ੍ਚ.


Expected results: letters showing properly at the bottom of preceding character. 


Additional info: Related Unicode document attached. Raavi and Ravi font from Microsoft render it correctly.

Comment 1 Jens Petersen 2022-03-30 03:37:14 UTC
Note that we have already switched the default Punjabi font in Fedora to
google-noto-sans-gurmukhi-vf-fonts some time ago.

Probably better to report this to https://github.com/lohit-fonts/lohit-gurmukhi-fonts
though right now we don't have an active maintainer unfortunately.

Comment 2 Parminder Lehal 2022-03-31 04:02:27 UTC
google-noto-sans-gurmukhi fonts suffer from almost same flaws. Please, see attached pictures..or you can see the  text in the gurmukhi text in the comment using noto fonts and attched font file( attached to explain the issue ). also, see attached images to see the difference. 

    2. ਪੈਰੀਂ ਅੱਖਰ – ਸਾਰੇ ਟੈਸਟ ਪ ਅੱਖਰ ਵਰਤ ਕੇ ਕੀਤੇ ਗਏ ਹਨ।  ਹ,ਕ,ਗ,ਚ,ਜ,ਟ,ਠ,ਨ,ਰ,ਯ,ਵ ਪੈਰੀਂ ਵਰਤੇ ਜਾਂਦੇ ਹਨ।
       ਪ੍ਰੇਮ   ਪ੍ਹ ਪ੍ਕ ਪ੍ਗ ਪ੍ਚ ਪ੍ਛ ਪ੍ਜ ਪ੍ਟ ਪ੍ਠ ਪ੍ਨ ਪ੍ਤ ਪ੍ਥ ਪ੍ਦ ਪ੍ਧ ਪ੍ਨ ਪ੍ਯ  ਪ੍ਰ  ਪ੍ਵ

Comment 3 Parminder Lehal 2022-03-31 04:06:45 UTC
Created attachment 1869615 [details]
font file showing issue fixed/or not having the issue/properly rendering

Comment 4 Parminder Lehal 2022-03-31 04:08:24 UTC
Created attachment 1869616 [details]
proper rendering

Comment 5 Parminder Lehal 2022-03-31 04:09:30 UTC
Created attachment 1869617 [details]
noto sans gurmukhi issue

Comment 6 Ben Cotton 2022-11-29 17:35:06 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 7 Parminder Lehal 2022-11-29 17:53:58 UTC
The problem is with the font package which is part of all the Redhat offerings including Redhat enterprise so this automated closing ritual without even reading the bug won't help anyone. It only dissuades users from reporting the bugs. I reported the bug referring to the OS version where "I" found it. The same font is used in other distributions so it is in all the distros.

Comment 8 Jens Petersen 2022-12-12 05:30:07 UTC
We have basically switched Fedora (and RHEL 9) to use google-noto-sans-gurmukhi-vf-fonts by default.
So I highly recommend reporting this also to https://github.com/notofonts/gurmukhi/issues .

Indeeed, which is why I have opened https://github.com/lohit-fonts/lohit-gurmukhi-fonts/issues/1 upstream to track this.