From bugzilla at redhat.com Wed Mar 9 16:52:49 2022
Content-Type: multipart/mixed; boundary="===============1683753415526878525=="
MIME-Version: 1.0
From: bugzilla at redhat.com
To: fonts-bugs at lists.fedoraproject.org
Subject: [Bug 2062386] New: strange font priorities in Firefox
Date: Wed, 09 Mar 2022 16:50:21 +0000
Message-ID:
--===============1683753415526878525==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
https://bugzilla.redhat.com/show_bug.cgi?id=3D2062386
Bug ID: 2062386
Summary: strange font priorities in Firefox
Product: Fedora
Version: 35
Hardware: x86_64
OS: Linux
Status: NEW
Component: Fonts
Assignee: i18n-bugs(a)lists.fedoraproject.org
Reporter: skyfaller(a)gmail.com
QA Contact: fonts-bugs(a)lists.fedoraproject.org
Target Milestone: ---
Classification: Fedora
Description of problem:
Sometimes, when using a native font stack in CSS on a web page, fonts that =
are
not in the font stack at all are substituted for the desired fonts.
This only seems to affect web pages viewed using:
- Fedora (not Ubuntu, Debian 11, or Manjaro)
- Firefox (not Chrome or Chromium)
- When using the RPM version or Mozilla's official build from their website
(not the Flatpak)
Happens in the stable version of Firefox, Firefox Beta, and Firefox nightly.
Two substitutions I've identified so far:
- Droid Sans is substituted for Open Sans
- P052 is substituted for 'URW Palladio L' or Palatino
Substituting for Palatino may be less objectionable, since that's a generic
choice, but URW Palladio L is rather specific and it's surprising to see the
substitution. This also wouldn't be as objectionable if the font substituti=
ons
were better. Droid Sans doesn't look much like Open Sans at all, and P052 l=
ooks
really ugly (it has unevenly sized letters). In Firefox Flatpak, it instead
substitutes the better-looking 'TeX Gyre Pagella', and only does that for
Palatino, not for 'URW Palladio L' (which was higher priority in my font
stack). This is more desirable behavior.
The source of the problem seems to be that if you run the following command:
fc-match :family=3D"Open Sans"
It returns Droid Sans.
Possibly related bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=3D1820166
https://bugzilla.mozilla.org/show_bug.cgi?id=3D1406790
How reproducible:
Consistently
Steps to Reproduce:
1. Open a clean Fedora 35 install, and verify that Open Sans is not install=
ed.
2. Create the following web page and view it in a browser:
```
Hello World
Lorem ipsum dolor sit amet.
```
Alternately, view a real live (but more complex) website at
https://www.maximumethics.dev/
Actual results:
Notice that the text on the webpage is displayed in Droid Sans, not Open Sa=
ns.
Expected results:
The webpage displays the next available font in the font stack, Fira Sans in
this case, or the browser's default font if you don't have Fira Sans.
-- =
You are receiving this mail because:
You are the QA Contact for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=3D2062386
--===============1683753415526878525==--
From bugzilla at redhat.com Wed Mar 30 03:58:21 2022
Content-Type: multipart/mixed; boundary="===============8569549172595842983=="
MIME-Version: 1.0
From: bugzilla at redhat.com
To: fonts-bugs at lists.fedoraproject.org
Subject: [Bug 2062386] strange font priorities in Firefox
Date: Wed, 30 Mar 2022 03:39:08 +0000
Message-ID:
In-Reply-To: bug-2062386-236001@https.bugzilla.redhat.com/
--===============8569549172595842983==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
https://bugzilla.redhat.com/show_bug.cgi?id=3D2062386
Jens Petersen changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|i18n-bugs(a)lists.fedoraproje |tagoh(a)redhat.com
|ct.org |
Doc Type|--- |If docs needed, set a value
-- =
You are receiving this mail because:
You are the QA Contact for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=3D2062386
--===============8569549172595842983==--
From bugzilla at redhat.com Wed Mar 30 09:26:32 2022
Content-Type: multipart/mixed; boundary="===============1306257306310317206=="
MIME-Version: 1.0
From: bugzilla at redhat.com
To: fonts-bugs at lists.fedoraproject.org
Subject: [Bug 2062386] strange font priorities in Firefox
Date: Wed, 30 Mar 2022 09:26:08 +0000
Message-ID:
In-Reply-To: bug-2062386-236001@https.bugzilla.redhat.com/
--===============1306257306310317206==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
https://bugzilla.redhat.com/show_bug.cgi?id=3D2062386
--- Comment #1 from Akira TAGOH ---
Well, maybe good to file a separate bug to object each substitutions.
For Open Sans, google-droid-sans-fonts has the following config:
Open Sans
Droid Sans
This is the reason why you see that behavior.
For URW Palladio L, urw-base35-fonts-common has the following config:
URW Palladio L
P052
And finally for Palatino, it is in urw-base35-p052-fonts:
Palatino
P052
Although those urw config are coming from upstream. so if you have any
objections for them, it would be good to talk with URW upstream.
-- =
You are receiving this mail because:
You are the QA Contact for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=3D2062386
--===============1306257306310317206==--
From bugzilla at redhat.com Mon Jun 13 06:03:46 2022
Content-Type: multipart/mixed; boundary="===============5333072160019267000=="
MIME-Version: 1.0
From: bugzilla at redhat.com
To: fonts-bugs at lists.fedoraproject.org
Subject: [Bug 2062386] strange font priorities in Firefox
Date: Mon, 13 Jun 2022 06:03:27 +0000
Message-ID:
In-Reply-To: bug-2062386-236001@https.bugzilla.redhat.com/
--===============5333072160019267000==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
https://bugzilla.redhat.com/show_bug.cgi?id=3D2062386
Akira TAGOH changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |2096153
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=3D2096153
[Bug 2096153] strange font priorities in Firefox
-- =
You are receiving this mail because:
You are the QA Contact for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=3D2062386
--===============5333072160019267000==--
From bugzilla at redhat.com Mon Jun 13 06:50:58 2022
Content-Type: multipart/mixed; boundary="===============4499667570811931303=="
MIME-Version: 1.0
From: bugzilla at redhat.com
To: fonts-bugs at lists.fedoraproject.org
Subject: [Bug 2062386] strange font priorities in Firefox
Date: Mon, 13 Jun 2022 06:50:36 +0000
Message-ID:
In-Reply-To: bug-2062386-236001@https.bugzilla.redhat.com/
--===============4499667570811931303==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
https://bugzilla.redhat.com/show_bug.cgi?id=3D2062386
Akira TAGOH changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Fonts |urw-base35-fonts
Version|35 |rawhide
Assignee|tagoh(a)redhat.com |rlescak(a)redhat.com
CC| |akhaitovich(a)gmail.com,
| |deekej(a)redhat.com,
| |rlescak(a)redhat.com,
| |zdohnal(a)redhat.com
QA Contact|fonts-bugs(a)lists.fedoraproj |extras-qa(a)fedoraprojec=
t.org
|ect.org |
--- Comment #2 from Akira TAGOH ---
created a clone for google-droid-fonts. let's reassign this to urw-base35-f=
onts
for URW specific thing then.
-- =
You are receiving this mail because:
You are the QA Contact for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=3D2062386
--===============4499667570811931303==--