Closed Bug 1584922 Opened 7 years ago Closed 7 years ago

San Francisco glyphs too close together on Linux

Categories

(Core :: Graphics: Text, defect, P3)

Desktop
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 939132

People

(Reporter: hsivonen, Unassigned)

Details

Attachments

(3 files)

Steps to reproduce

  1. Load https://developer.apple.com/fonts/ in Firefox on Mac
  2. Load https://developer.apple.com/fonts/ in Firefox on Windows
  3. Load https://developer.apple.com/fonts/ in Firefox on Linux
  4. Load https://developer.apple.com/fonts/ in Chromium on Linux

Actual results

Under the section "Fonts", the glyphs run too close together in Firefox on Linux. The text looks OK in Firefox on other platforms as well as Chromium on Linux.

Expected results

Expected the text in Firefox on Linux to look the way it looks like in Firefox on Mac and in Chromium on Linux.

What version of Firefox? Could you attach a screenshot of what you're seeing, please? AFAICT it looks OK on my Linux machine...

Flags: needinfo?(hsivonen)
Attached image Firefox with WebRender —
Flags: needinfo?(hsivonen)
Attached image Chromium —

(In reply to Jonathan Kew (:jfkthame) from comment #1)

What version of Firefox?

Nightly, with or without WebRender, in Gnome Wayland session on Ubuntu 18.04.

Could you attach a screenshot of what you're seeing, please? AFAICT it looks OK on my Linux machine...

Attached. Considering that in "typographic" "po" has too much space and "og" too little, this looks to me like bad integer snapping of advances or similar.

Priority: -- → P3

Yes, it does look poor, doesn't it? My default Linux setup has a hi-dpi screen, so it's much less obvious, but this is indeed an issue of integer-pixel width snapping, combined with the use of slight CSS letter-spacing on that content. Specifically, I believe this is an example of bug 939132.

Fortunately, Lee has just enabled subpixel positioning on Linux in bug 1583707, so things should look a lot better in latest Nightlies.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE

Indeed, it's fixed in the latest Nightly. Thanks!

The issue is still not resolved for me; the Apple fonts website looks just as bad, and reading the bugzilla manual is very frustrating. I am using firefox 78.0.2.

Screenshots in https://imgur.com/a/GLtf4p5 (not sure how to attach images).

The problem on Bugzilla documentation was because I'd switched to the SF Pro font for all of firefox; however, it show that the issue is still present.

Enabling gfx.text.subpixel-position.force-enabled makes the page look better, but still not as good as chromium (see "typographic" in https://i.imgur.com/Rvl5TDf.png)

The issue is still not resolved for me; the Apple fonts website looks just as bad

Can you provide more information about Linux distro and version and whether you obtained Firefox from Mozilla or from the distro?

Flags: needinfo?(melvyn.depeyrot)

Can you provide more information about Linux distro and version and whether you obtained Firefox from Mozilla or from the distro?

Hi. Kubuntu 20.04 for example (just downloaded the ISO and installed): right after OS installation fonts in FF (i.e. gmail) are ok, then after updating packages (FF is among the package being updated) font rendering become much worst than before.

Firefox was obtained from OS (Manjaro) repositories, and I am using KDE as my DE.

Flags: needinfo?(melvyn.depeyrot)

Firefox was obtained from OS (Manjaro) repositories, and I am using KDE as my DE.

Please check if the problem is reproducible with a Mozilla-provided Firefox build.

Hi. Kubuntu 20.04 for example (just downloaded the ISO and installed): right after OS installation fonts in FF (i.e. gmail) are ok, then after updating packages (FF is among the package being updated) font rendering become much worst than before.

Gmail specifies Arial, Helvetica, sans-serif, so what you are seeing is probably not this bug. If the problem reproduces with a Mozilla-provided Firefox build, please file another bug. Otherwise, please file a Kubuntu bug.

Flags: needinfo?(melvyn.depeyrot)

I can confirm that the text renders just as badly on stock firefox from mozilla.org

Flags: needinfo?(melvyn.depeyrot)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: