W3C home > Mailing lists > Public > www-svg@w3.org > March 2009

Re: How to display a SVG with Chinese text element on mobile phone?

From: kingble <kingble__w@163.com>
Date: Mon, 16 Mar 2009 20:11:00 -0700 (PDT)
Message-ID: <22551887.post@talk.nabble.com>
To: www-svg@w3.org

I  alter my test.svg code and save by UTF-8 format:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN"
<svg viewbox="0 0 50 25" width="150.0" height="75.0">
    <rect x="25" y="25" transform="translate(75 36.375) 
        rotate(15) translate(-70 -35.375)" fill="#00007E" 
        width="100" height="22.75" stroke="#000000" stroke-width=".5"/>
    <rect x="25" y="25" fill="#FF9800" width="108.5" 
        height="22.75" stroke="#000000" stroke-width=".5"/>
    <text x="30" y="40" fill="#00007E" stroke="black" 
        stroke-width=".33" style="font-family:SimSun;sans-serif">测试

and I can show test.svg correctly on PC,but on mobile it still display
normally.test in <text> </text>display correctly,but 测试 is replaced by 2
Can I send the test.svg with the font SimSun?or maybe these is a svg Parser
in mobile can display Chinese?
View this message in context: http://www.nabble.com/How-to-display-a-SVG-with-Chinese-text-element-on-mobile-phone--tp22537542p22551887.html
Sent from the w3.org - www-svg mailing list archive at Nabble.com.
Received on Tuesday, 17 March 2009 03:11:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:16 UTC