Open Bug 1628965 Opened 4 years ago Updated 3 months ago

large font size becomes blurred

Categories

(Core :: Graphics: WebRender, defect, P5)

defect

Tracking

()

Webcompat Priority P3
Tracking Status
firefox77 --- affected

People

(Reporter: lolipopplus, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: testcase)

simple test case here: https://codepen.io/mmis1000/pen/vYNYwdN

Chrome is tested to work fine.

I thought this is about graph scaling but I was wrong. Setting font-size to a large value (e.g. 2000px) is pretty much same.

Component: Graphics → Graphics: Text
Summary: element blurred from CSS transform → large font size becomes blurred

Happens only with WR enabled. With WR disabled on Win10, the edges are sharp.

Component: Graphics: Text → Graphics: WebRender
Status: UNCONFIRMED → NEW
Ever confirmed: true

Lee - can you take a look?

Blocks: wr-77
Flags: needinfo?(lsalzman)
Priority: -- → P3

(confirmed looks worse with WR)

Resetting severity to default of --.

We currently can't do anything about this till we have some way to render paths in WR. Until then, we just limit the size of glyphs to what will sanely fit in the atlas, which causes blurriness. Marking this as dependent on pathfinder for now.

Depends on: pathfinder
Flags: needinfo?(lsalzman)
Priority: P3 → P5
Hardware: Desktop → All

We could also draw them with Skia. In the mean time let's postpone until we run into it in the wild.

(In reply to Jeff Muizelaar [:jrmuizel] from comment #7)

We could also draw them with Skia. In the mean time let's postpone until we run into it in the wild.

It's not that we can't render it, in the sense that the font backends (i.e. freetype) are perfectly capable of doing so, it is just the prohibitive amount of texture cache memory each glyph starts taking up. Blob images wouldn't solve this. We'd really need some sort of in-memory compression format, but way better is to just use Pathfinder.

No longer blocks: wr-77
Webcompat Priority: --- → ?
Webcompat Priority: ? → P3
Severity: normal → S3
Keywords: testcase
Blocks: wr-blurry
You need to log in before you can comment on or make changes to this bug.