| Summary: | Font size in SVG (also HTML) is rounded, creating imprecise layouts | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Andreas <andreas> | ||||||
| Component: | Text | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | RESOLVED DUPLICATE | ||||||||
| Severity: | Normal | CC: | ahmad.saleem792, mmaxfield, sabouhallawa, simon.fraser, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 16 | ||||||||
| Hardware: | Mac (Intel) | ||||||||
| OS: | macOS 13 | ||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=149211 https://bugs.webkit.org/show_bug.cgi?id=240213 https://bugs.webkit.org/show_bug.cgi?id=249962 |
||||||||
| Attachments: |
|
||||||||
Created attachment 464304 [details]
Comparison of the scaling/font size issue
Seems to be fixed in STP174. @Myles - your fractional font size fix might have helped here? |
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.