RESOLVED DUPLICATE of bug 46987 Bug 250020
Font size in SVG (also HTML) is rounded, creating imprecise layouts
https://bugs.webkit.org/show_bug.cgi?id=250020
Summary Font size in SVG (also HTML) is rounded, creating imprecise layouts
Andreas
Reported 2023-01-03 05:59:40 PST
Created attachment 464303 [details] Animated example: text scales in steps on WebKit SVG (and HTML) font sizes in WebKit are rounded (wrongfully) creating imprecise layout or making measuring text difficult/impossible. In the attached test case and animated inline SVG with the text not scaling smoothly. Could be related to 149211, 225695 and 240213.
Attachments
Animated example: text scales in steps on WebKit (1.04 KB, text/html)
2023-01-03 05:59 PST, Andreas
no flags
Comparison of the scaling/font size issue (6.29 MB, image/gif)
2023-01-03 06:04 PST, Andreas
no flags
Andreas
Comment 1 2023-01-03 06:04:09 PST
Created attachment 464304 [details] Comparison of the scaling/font size issue
Radar WebKit Bug Importer
Comment 2 2023-01-10 06:00:18 PST
Ahmad Saleem
Comment 3 2023-07-25 17:35:54 PDT
Seems to be fixed in STP174. @Myles - your fractional font size fix might have helped here?
Ahmad Saleem
Comment 4 2023-10-02 18:20:47 PDT
*** This bug has been marked as a duplicate of bug 46987 ***
Note You need to log in before you can comment on or make changes to this bug.