Closed Bug 1298833 Opened 8 years ago Closed 8 years ago

Text looks bolder in Nighly compared to 48

Categories

(Core :: Graphics: Text, defect)

51 Branch
Unspecified
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox50 --- unaffected
firefox51 --- fixed

People

(Reporter: evilpie, Assigned: lsalzman)

References

Details

(Keywords: regression, Whiteboard: [gfx-noted])

Attachments

(3 files)

Attached image difference.png
I am using on Linux Mint, with Nvidia drivers.
Attached file about:support data
OS: Unspecified → Linux
Whiteboard: [gfx-noted]
Version: unspecified → 51 Branch
Setting gfx.content.azure.backends to cairo seems to fix this.
(In reply to Tom Schuster [:evilpie] from comment #2)
> Setting gfx.content.azure.backends to cairo seems to fix this.

If you use the inspector to highlight the bold text, then in the right-side panel in the inspector where it normally is on the "Rules" tab, go to "Fonts". Try this for both Skia content and Cairo content, and can you tell me which font it is using for each of those? Ideally it should be the same...
Flags: needinfo?(evilpies)
Says 'Liberation Sans Bold (system) used as "Liberation Sans"' in both cases.
Flags: needinfo?(evilpies)
Can you use the following command to archive your fontconfig setup and either email it to my mozilla email address or attach it here?

tar -czhf fonts-conf.tar.gz /etc/fonts
Flags: needinfo?(evilpies)
cairo-ft never used any gamma correction, and it looks like FreeType itself is just rendering things in linear space. So, we need to disable Skia's preblend to make things look the same.
Assignee: nobody → lsalzman
Status: NEW → ASSIGNED
Attachment #8786063 - Flags: review?(mchang)
Flags: needinfo?(evilpies)
Attachment #8786063 - Flags: review?(mchang) → review+
Pushed by lsalzman@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/eb085490560d
disable gamma correction in SkFontHost_cairo to match cairo-ft. r=mchang
https://hg.mozilla.org/mozilla-central/rev/eb085490560d
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: