Closed Bug 1585931 Opened 5 years ago Closed 5 years ago

Blurry fonts from Firefox 71.0a1 (2019-10-02) (64-bit)

Categories

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

71 Branch
Unspecified
Linux
defect

Tracking

()

VERIFIED FIXED
mozilla72
Tracking Status
firefox-esr68 --- unaffected
firefox67 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 --- unaffected
firefox71 + verified
firefox72 --- verified

People

(Reporter: drJeckyll, Assigned: lsalzman)

References

(Regression)

Details

(Keywords: regression)

Attachments

(9 files)

Attached image bad.png - blurry fonts

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0

Steps to reproduce:

As from 71.0a1 (2019-10-02) (64-bit) some fonts appear blurry. See shots

Attached image bad1.png - blurry fonts

Bad shots are from 71.0a1 (2019-10-02) (64-bit). Good ones are from yesterday build 71.0a1 (2019-10-01) (64-bit).

This is Gentoo Linux. Shots taken from the same machine and same time.

Component: Untriaged → Graphics: Text
Product: Firefox → Core

The priority flag is not set for this bug.
:lsalzman, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(lsalzman)

What does your fontconfig hint style setup look like in /etc/fonts/conf.d or similar? Also, what version of freetype are you using?

Flags: needinfo?(lsalzman) → needinfo?(drJeckyll)

Fri Jul 5 22:33:46 2019 >>> media-libs/freetype-2.10.1

<match target="font">
<edit mode="assign" name="rgba"><const>rgb</const></edit>
<edit mode="assign" name="hinting"><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintfull</const></edit>
<edit mode="assign" name="antialias"><bool>true</bool></edit>
<edit mode="assign" name="lcdfilter"><const>lcddefault</const></edit>
</match>

BUT, I don't change anything about fonts. Just update firefox. Also if I go back to "good" version of firefox fonts are back to normal.

Flags: needinfo?(drJeckyll)

The priority flag is not set for this bug.
:lsalzman, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(lsalzman)
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/49e3720bafb4
don't use subpixel positioning for Fontconfig fonts if full hinting is requested. r=jfkthame
Assignee: nobody → lsalzman
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(lsalzman)
OS: Unspecified → Linux
Priority: -- → P3
Regressed by: 1583707
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72

Comment on attachment 9102948 [details]
Bug 1585931 - don't use subpixel positioning for Fontconfig fonts if full hinting is requested. r?jfkthame

Beta/Release Uplift Approval Request

  • User impact if declined: Regression on Linux where users who have explicitly forced Fontconfig hinting of text will not get the requested hinting. Just missed the cut-off for getting this change in 71...
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): In 71, subpixel positioning was enabled for text on Linux. This change just disables subpixel positioning again for users who have forced hinting of text, effectively just putting things back the way they used to be for those users.
  • String changes made/needed:
Attachment #9102948 - Flags: approval-mozilla-beta?

Hi drjeckyll, could you confirm that you are no longer experiencing the bug in the last 72 nightlies? Thanks!

Flags: needinfo?(drJeckyll)

Changing the priority to p1 as the bug is tracked by a release manager for the current beta.
See What Do You Triage for more information

Priority: P3 → P1

At least for me, fonts looks much better now. Not sure if they back what were before, but they are not blurry or uneven.

Flags: needinfo?(drJeckyll)
Attached image good3.png - today view
Attached image good4.png - today view

Thanks, let's uplift to beta then :)

Comment on attachment 9102948 [details]
Bug 1585931 - don't use subpixel positioning for Fontconfig fonts if full hinting is requested. r?jfkthame

Low risk patch for some Linux configurations, verified as fixed on Nightly by the reporter, uplift approved for 71 beta 4, thanks.

Attachment #9102948 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Hello,

I could not reproduce this bug using Fx 71.0a1 BuildID: 20191002214349 on Ubuntu x64 18.04. I will remove the qe verify + flag. Thank you for confirming the fix drjeckyll!

Flags: qe-verify+

Hi drjeckyll, if you would be so kind, can you verify that the fix is working for you on Firefox Beta 71.0b5 (https://archive.mozilla.org/pub/firefox/candidates/71.0b5-candidates/build1/) unfortunately we could not reproduce this issue on our hardware.

Thank you!

Flags: needinfo?(drJeckyll)

(In reply to Daniel Cicas [:dcicas], Release QA from comment #22)

Hi drjeckyll, if you would be so kind, can you verify that the fix is working for you on Firefox Beta 71.0b5 (https://archive.mozilla.org/pub/firefox/candidates/71.0b5-candidates/build1/) unfortunately we could not reproduce this issue on our hardware.

Thank you!

It looks good to me

Flags: needinfo?(drJeckyll)
Attached image Firefox Beta 71.0b5 - 1
Attached image Firefox Beta 71.0b5 - 2

Thank you for verifying this issue!

Marking this bug as verified as per the reporters comments.

Status: RESOLVED → VERIFIED
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: