Bug 244487 - [LBSE] Text rendering is not pixel perfect
Summary: [LBSE] Text rendering is not pixel perfect
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nikolas Zimmermann
URL:
Keywords: InRadar
Depends on:
Blocks: 90738
  Show dependency treegraph
 
Reported: 2022-08-29 02:02 PDT by Nikolas Zimmermann
Modified: 2022-08-30 05:07 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolas Zimmermann 2022-08-29 02:02:28 PDT
The screen scaling factor for font sizes (see RenderSVGInlineText::computeNewScaledFont) evaluates to 1.0 in LBSE.
Therefore the legacy engine / LBSE produce different visual text rendering results at present (glyphs are scaled, not the font itself).

Fix that to achieve pixel perfect rendering results between LBSE / legacy engine.
Comment 1 Nikolas Zimmermann 2022-08-29 02:21:49 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3765
Comment 2 EWS 2022-08-30 05:06:50 PDT
Committed 253938@main (e3e969227c9e): <https://commits.webkit.org/253938@main>

Reviewed commits have been landed. Closing PR #3765 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-08-30 05:07:18 PDT
<rdar://problem/99325941>