Bug 149211

Summary: Scaled SVG text font-size is getting rounded wrongly
Product: WebKit Reporter: Simon <boisseau.simon>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, bfulgham, mmaxfield, sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 8   
Hardware: Mac   
OS: OS X 10.10   
See Also: https://bugs.webkit.org/show_bug.cgi?id=250020

Description Simon 2015-09-16 03:56:24 PDT
Scaled SVG Text with a defined font size is getting rendered with a different (rounded?) font size that is making the text either too short or too long.

Please see this waterfall test page:
https://jsfiddle.net/7wozo5eL/10/embedded/result/

Note that this is on Safari 8 OSX 10.10, but verified on Webkit Nightly, and Safari iOS. 

Most of the other browsers get this exactly right.
Comment 1 Brent Fulgham 2022-07-18 15:37:20 PDT
This continues to be a problem in Safari 16 as text extends beyond the grey region on each line.
Comment 2 Radar WebKit Bug Importer 2022-07-18 15:37:38 PDT
<rdar://problem/97224064>
Comment 3 Ahmad Saleem 2023-10-02 18:21:36 PDT

*** This bug has been marked as a duplicate of bug 46987 ***