Open Bug 1621955 Opened 5 years ago Updated 2 years ago

Liberation Mono is not getting monospaced; other monospaced fonts are.

Categories

(Core :: Widget: Gtk, defect)

PowerPC
macOS
defect

Tracking

()

Tracking Status
firefox76 --- wontfix

People

(Reporter: alexander.m.scheel, Unassigned)

Details

(Keywords: regression)

Attachments

(3 files)

I'm having a hard time tracking down this bug. Let me know if there's anything I can do to help!

I'm running on Fedora 31 / Firefox 73.0.1. I've also tested this on Firefox Nightly 76.0a1 (2020-03-12) (64-bit).

I've tested with both liberation-fonts packages in Fedora 31 and 32:
liberation-fonts-2.00.5-6.fc31
liberation-fonts-2.1.0-1.fc32

I've tested in an external editor (gedit), which does render the spacing correctly. That leaves me to believe this bug has regressed in Firefox again.

I used a slightly different testing mechanism. Go to here:

https://raw.githubusercontent.com/cipherboy/testbed/master/testing-gitea-indentation/file.go

And in the inspector, add a style:
font-family: "Liberation Mono";

to the <pre> element. This bug is visible in a lot of different places.

First screenshot is of Firefox with default system font. Second is with Liberation Mono. And third is with Gedit and Liberation Mono. Font size doesn't seem to affect the rendering.

Thanks!

+++ This bug was initially created as a clone of Bug #455767 +++

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

<html>
<head>
<title>Demo of Monospace Problem with Liberation Mono</title>
</head>

<body>
<p>
Following is a PRE tag with font-family "Liberation Mono".
</p>
<pre style="font-family: "Liberation Mono">
Note that the characters on these lines don't line up.
'"quotes are especially narrow.
IiMmJjLl
</pre>
<p>
This problem occurs with Liberation Mono, which I downloaded from
<a
href=""https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-1.04.zip">
this link</a>, when using Camino 1.6.3. It does not occur with Safari 3.1.2 or
Firefox 3.0.3. I am not having problems with other monospaced fonts in Camino.
[Mac OS 10.5.4]
"https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-1.04.zip"</p>
</body>
</html>

Reproducible: Always

Steps to Reproduce:
1.Create an html file from the text in "Details"
2.Open it.
3.Look at the character positioning in the PRE to see that it is wrong.
Actual Results:
no monospacing

Expected Results:
monospacing

Bugbug thinks this bug is a regression, but please revert this change in case of error.

Keywords: regression

Hi,
I don't have the technical knowledge to confirm this issue but I'll add product and component so the team can make some research on it. Hopefully, someone with a more deep understanding of this matter can help. Feel free to route this ticket to the corresponding team.

Regards,
Jerónimo

Component: Untriaged → Widget: Gtk
Flags: needinfo?(alexander.m.scheel)
Product: Firefox → Core
Flags: needinfo?(alexander.m.scheel)

Alexander,
When you have the time, could you please see if this issue is still reproducible on the latest Firefox versions?

Flags: needinfo?(alexander.m.scheel)

Yes, I can still reproduce it on 81.0.1 (64-bit) from Fedora 32 and also latest nightly, 83.0a1 (2020-10-09) (64-bit).

Flags: needinfo?(alexander.m.scheel)

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: