SVG Font Rendering Problems while rendering Text o

2019-05-17 01:15发布

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 Firefox this works fine, but in Chrome and Safari, 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:

Does somebody have an idea on how to avoid this?

I created a jsfiddle which shows the problem:

http://jsfiddle.net/v6esx/

Thank you!

0条回答
登录 后发表回答