Bug 149211 - Scaled SVG text font-size is getting rounded wrongly
Summary: Scaled SVG text font-size is getting rounded wrongly
Status: RESOLVED DUPLICATE of bug 46987
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari 8
Hardware: Mac OS X 10.10
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-09-16 03:56 PDT by Simon
Modified: 2023-10-02 18:21 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***