Open Bug 1817546 Opened 2 years ago Updated 6 months ago

Very blurry text in bespoke.js presentation

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

Tracking Status
firefox112 --- affected

People

(Reporter: gregp, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

Attachments

(2 files)

Attached image blurry.png

Steps to reproduce:

  1. Navigate to https://markdalgleish.github.io/presentation-build-wars-gulp-vs-grunt/

Actual results:
Text is blurry

Expected results:
Text is not blurry

I can't find a clear regression range. It seems less bad in Firefox 78, then it got worse around Firefox 80, then got better around Firefox 90, then got worse again.

Summary: Very blurry text in beskope.js presentation → Very blurry text in bespoke.js presentation

At first I thought this was because we hit the maximum glyph scale limit, but it appears that even if I make the glyphs smaller they just get even blurrier. It appears more like we're rendering the whole run to a low res texture and then scaling it up later? Removing the "perspective" line from the style makes the text sharper again, so that would support the idea that we're rendering to a temporary target, then applying the perspective transform to it. Glenn?

Flags: needinfo?(gwatson)
OS: Linux → Unspecified
Hardware: x86_64 → Unspecified
Version: Firefox 112 → unspecified
Severity: -- → S3

There's nothing in the reduced test case that suggests we'd create an off-screen target here, and I don't see anything in the debug render target view that suggests we're creating a target. I suspect the perspective node is tripping up where we calculate the appropriate scale factor to rasterize glyphs at (the debug texture cache view seems to support that, I think).

Flags: needinfo?(gwatson)

I think this is probably the same issue as bug 1806281.

Depends on: 1806281
Blocks: wr-blurry
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: