Bug 1530086 - [pa] Wrong Panjabi fonts selected for translated UI (gnu free and lohit)
Summary: [pa] Wrong Panjabi fonts selected for translated UI (gnu free and lohit)
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-01 21:04 UTC by A S Alam
Modified: 2020-09-29 01:47 UTC (History)
30 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 01:47:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Red underline Text is using wrong fonts while Blue is with correct fonts (7.41 MB, image/png)
2018-01-01 21:04 UTC, A S Alam
no flags Details
another screenshot (686.14 KB, image/jpeg)
2018-01-01 21:05 UTC, A S Alam
no flags Details
Fedora 29 Screenshot (82.51 KB, image/png)
2018-10-23 14:04 UTC, A S Alam
no flags Details
Fedora 29 Screenshot (45.36 KB, image/png)
2018-10-23 14:04 UTC, A S Alam
no flags Details
Fedora 31 - Oct 25, 2019 - still issue (109.44 KB, image/png)
2019-10-26 03:51 UTC, A S Alam
no flags Details
Fedora 33 WS iso installation, fixed issue screenshot (109.31 KB, image/png)
2020-09-23 06:37 UTC, Parag Nemade
no flags Details
Rawhide and f33 live, maybe fixed (405.06 KB, image/png)
2020-09-25 15:20 UTC, Vladimír Slávik
no flags Details

Description A S Alam 2018-01-01 21:04:40 UTC
Created attachment 1375373 [details]
Red underline Text is using wrong fonts while Blue is with correct fonts

Description of problem:
Panjabi/Punjabi translated UI is broken as UI text was display with two different type of fonts and one on them is not properly display text.
one font Lohit Punjabi - correct (underlined Blue in attachment)
gnu free sans/serif - incorrect (underlined Red in attachemt)


Version-Release number of selected component (if applicable):
anaconda-27.20.4-4.fc27.x86_64.rpm 

gnu-free-sans-fonts-20120503-15.fc27.noarch
gnu-free-serif-fonts-20120503-15.fc27.noarch

How reproducible:
everytime

Steps to Reproduce:
1. run liveinstall
2. select Punjabi (ਪੰਜਾਬੀ) language from GUI
3. click Next

Actual results:
Rendering is not proper and consistent throu UI

Expected results:
consistent translated GUI

Additional info:
Some Panjabi Text was with Lohit Punjabi font, while other was using gnu free fonts

Comment 1 A S Alam 2018-01-01 21:05:18 UTC
Created attachment 1375374 [details]
another screenshot

Comment 2 A S Alam 2018-01-01 21:07:42 UTC
I was using
Fedora-KDE-Live-x86_64-27-1.6.iso  and run installer by double click Live install.


if run from terminal and set Language variable (with LANG=pa_IN.UTF-8) then
interface text is *proper*.

Comment 3 Jens Petersen 2018-10-09 06:47:54 UTC
Do you still see this will F28 or F29?

Comment 4 A S Alam 2018-10-23 03:37:23 UTC
(In reply to Jens Petersen from comment #3)
> Do you still see this will F28 or F29?

I am sure about problem with F28, but I will test for F29 latest test build and then update again.

thanks

Comment 5 A S Alam 2018-10-23 14:04:00 UTC
Created attachment 1496701 [details]
Fedora 29 Screenshot

Comment 6 A S Alam 2018-10-23 14:04:18 UTC
Created attachment 1496702 [details]
Fedora 29 Screenshot

Comment 7 A S Alam 2018-10-23 14:04:55 UTC
Bug still exist with Fedora 29. Yellow underline.

Comment 8 Jens Petersen 2019-07-16 06:09:23 UTC
Actually I am not sure why we install gnu-free-fonts by default still?

Comment 9 A S Alam 2019-07-18 05:03:03 UTC
Still exist in Fedora 30

Comment 10 A S Alam 2019-09-02 17:34:10 UTC
Fedora 31 still have same issue
Tested with: Fedora-Workstation-Live-x86_64-31-20190902.n.0.iso

Comment 11 Vendula Poncova 2019-09-04 13:39:42 UTC
The fonts for Live ISO are defined by Fedora kickstart files. Reassigning to spin-kickstarts.

Comment 12 Kevin Fenzi 2019-09-05 18:02:26 UTC
Moving to livecd/kde

Comment 13 Jens Petersen 2019-09-06 04:31:46 UTC
Is this a KDE Spin specific issue...?
Does the same issue exist on Fedora Workstation?

I would suggest moving to fontconfig say for lack of a better component.

I think it should either be solved in @fonts or fontconfig fedora .conf priorities.

Comment 14 Akira TAGOH 2019-09-24 10:33:26 UTC
We have a fontconfig config file per packages. nothing we can do for this in fontconfig. and gnu-free-fonts has lower priority enough (they are assigned to 69) and google-noto-sans-gurmukhi-fonts (new default font for Punjabi, changed in f31. see Bug#1554988) has a higher priority than gnu-free-fonts (they are assigned to 65-0).

In fact, on Fedora-Workstation-Live-x86_64-31-20190909.n.0.iso:

$ fc-match :lang=pa
NotoSansGurmukhi-Regular.ttf: "Noto Sans Gurmukhi" "Regular"

The font selection itself works as expected. please retest and provide more information.

Comment 15 A S Alam 2019-10-26 03:51:22 UTC
Created attachment 1629384 [details]
Fedora 31 - Oct 25, 2019 - still issue

I tested on Fedora 31 Oct 25 build (attaching screenshot) and still have issue

Comment 16 A S Alam 2019-10-26 03:52:09 UTC
Tested with Gnome Workstation Live ISO

Fedora-Workstation-Live-x86_64-31-20191024.n.2.iso

Comment 17 Akira TAGOH 2019-10-29 10:46:42 UTC
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
$ fc-match sans-serif:lang=pa
NotoSansGurmukhi-Regular.ttf: "Noto Sans Gurmukhi" "Regular"
$ fc-match serif:lang=pa
NotoSansGurmukhi-Regular.ttf: "Noto Sans Gurmukhi" "Regular"
$ fc-match monospace:lang=pa
NotoSansGurmukhi-Regular.ttf: "Noto Sans Gurmukhi" "Regular"
$ LANG=pa_IN.UTF-8 fc-match sans-serif
NotoSansGurmukhi-Regular.ttf: "Noto Sans Gurmukhi" "Regular"
$ LANG=pa_IN.UTF-8 fc-match serif
NotoSansGurmukhi-Regular.ttf: "Noto Sans Gurmukhi" "Regular"
$ LANG=pa_IN.UTF-8 fc-match monospace
NotoSansGurmukhi-Regular.ttf: "Noto Sans Gurmukhi" "Regular"

All of queries to fontconfig is expected results. something may need to be changed in anaconda perhaps. reassigning.

Comment 18 A S Alam 2019-10-30 04:39:41 UTC
Used Fedora 31 HTTP installation (not LIVE ISO),

Interface is using normal glyphs without any issue.

Comment 19 Parag Nemade 2020-09-23 06:37:30 UTC
Created attachment 1715922 [details]
Fedora 33 WS iso installation, fixed issue screenshot

I believe this issue does not exist anymore in Fedora 33 now.

Comment 20 Vladimír Slávik 2020-09-25 15:19:24 UTC
Hello A S Alam, can you please tell me confirm if this is fixed as Parage Nemade suggests? (or not fixed?)

I will attach screenshots from current f33 live and rawhide boot iso.

Comment 21 Vladimír Slávik 2020-09-25 15:20:15 UTC
Created attachment 1716637 [details]
Rawhide and f33 live, maybe fixed

Comment 22 A S Alam 2020-09-29 01:47:00 UTC
Tested with Fedora 33 Live and Network installation, Correct font selected in both cases.

Fedora-Workstation-Live-x86_64-33-20200928.n.0.iso


Note You need to log in before you can comment on or make changes to this bug.