Bug 244487

Summary: [LBSE] Text rendering is not pixel perfect
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: SVGAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: rbuis, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 90738    

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>