Bug 149211
| Summary: | Scaled SVG text font-size is getting rounded wrongly | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon <boisseau.simon> |
| Component: | Text | Assignee: | 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 | ||
Simon
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brent Fulgham
This continues to be a problem in Safari 16 as text extends beyond the grey region on each line.
Radar WebKit Bug Importer
<rdar://problem/97224064>
Ahmad Saleem
*** This bug has been marked as a duplicate of bug 46987 ***