WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
105017
SVG Font Rendering Problems while rendering Text on a Path in Chrome and Safari
https://bugs.webkit.org/show_bug.cgi?id=105017
Summary
SVG Font Rendering Problems while rendering Text on a Path in Chrome and Safari
schwenk.johannes
Reported
2012-12-14 05:57:01 PST
I try to render some text along a bezier curve path in SVG: <svg xmlns="
http://www.w3.org/2000/svg
" version="1.1"> <path id='menu_path' d="M 80,40 Q 200,85 245,205" stroke="none" fill="none"/> <text fill="white"> <textPath xlink:href="#menu_path">News Info Presse Musik</textPath> </text> </svg> In Chrome (23.0.1271.97 m) and Safari (5.1.7 (7534.57.2)), the text looks ugly (look at "Musik"). Even when I use monospace fonts and set the text to uppercase it does not change. Here the Screenshots and a fiddle:
http://imageshack.us/a/img18/3195/svgrendering.png
http://imageshack.us/a/img705/7334/svgrenderingwithpath.png
http://jsfiddle.net/v6esx/2/
Attachments
STP 151 match with other browsers
(674.40 KB, image/png)
2022-08-13 15:04 PDT
,
Ahmad Saleem
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Philip Rogers
Comment 1
2012-12-17 23:41:31 PST
(In reply to
comment #0
) Do you mind trying this on Chrome Canary or Safari Nightly? I'm not able to reproduce this on Mac/ToT so it may have been fixed. Linky:
https://www.google.com/intl/en/chrome/browser/canary.html
Here's an updated fiddle that I was using:
http://jsfiddle.net/v6esx/4/
schwenk.johannes
Comment 2
2012-12-18 01:36:11 PST
I tried it on 25.0.1363.0 canary. The rendering problem does still exist. But in MacOSX, it does not. I tried it on MacOSX in Safari and Chrome, and there everything is fine. Seems to be a Windows problem. I`m using Windows 7.
Ahmad Saleem
Comment 3
2022-08-13 15:04:27 PDT
Created
attachment 461600
[details]
STP 151 match with other browsers I am not sure what to highlight as any difference any but to my eyes, all browsers are rendering same. Just wanted to share result of latest results of all browsers. Appreciate if anyone else can look into it and mark this accordingly. Thanks!
Alexey Proskuryakov
Comment 4
2022-08-20 17:03:42 PDT
Someone may want to test Windows and WinCairo ports, as per above, this never affected macOS, but it did affect Windows.
Fujii Hironori
Comment 5
2022-08-21 06:51:16 PDT
the screenshots aren't available. I don't know the problem. But, I don't observe any problem with the latest WinCairo and AppleWin for
http://jsfiddle.net/v6esx/2/
. BTW, WebKit doesn't render nicely the selected text of this test.
Fujii Hironori
Comment 6
2022-08-21 07:20:03 PDT
> BTW, WebKit doesn't render nicely the selected text of this test.
Filed:
Bug 244169
– SVG: wrongly painted selected text on a path
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug