svg Export unicode
Posted: Thu Dec 31, 2015 9:09 am
Hello..
I use TeeChart v7.
I used to export SVG.
If the label on the chart of Unicode strings, saving in svg, a Unicode string is broken. p_cfiChart->GetExport().GetAsSVG().SaveToFile(_T("c:\\svg42b2_tmp.svg"));
I want unbroken unicode string to export SVG.
I look forward to your reply to our inquiry.
Kind regards.
exported SVG
I use TeeChart v7.
I used to export SVG.
If the label on the chart of Unicode strings, saving in svg, a Unicode string is broken. p_cfiChart->GetExport().GetAsSVG().SaveToFile(_T("c:\\svg42b2_tmp.svg"));
I want unbroken unicode string to export SVG.
I look forward to your reply to our inquiry.
Kind regards.
exported SVG
Code: Select all
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="661px" height="268px" style="text-antialiasing:true">
<defs>
<linearGradient id="Gradient1" >
<stop offset="0%" stop-color="white"/>
<stop offset="100%" stop-color="rgb(239,227,165)"/>
</linearGradient>
</defs>
<rect fill="url(#Gradient1)" stroke="none" x="0" y="0" width="660" height="267"/>
<rect x="0" y="0" width="660" height="267" fill="none" stroke="rgb(160,160,160)" rx="5"/>
<polyline fill="none" stroke="white"
points="1,266 1,1 659,1 "/>
<polyline fill="none" stroke="white"
points="659,1 659,266 0,266 "/>
<rect x="2" y="2" width="656" height="263" fill="none" stroke="rgb(160,160,160)" rx="5"/>
<text x="330" y="25" font-family="굴림" font-size="8pt" fill="blue">
</text>
<line x1="291" y1="253" x2="468" y2="253" fill="none" stroke="black"/>
<line x1="291" y1="254" x2="469" y2="254" fill="none" stroke="rgb(85,85,85)"/>
<line x1="291" y1="255" x2="470" y2="255" fill="none" stroke="rgb(170,170,170)"/>
<line x1="468" y1="241" x2="468" y2="253" fill="none" stroke="black"/>
<line x1="467" y1="252" x2="467" y2="252" fill="none" stroke="black"/>
<line x1="469" y1="241" x2="469" y2="254" fill="none" stroke="rgb(85,85,85)"/>
<line x1="468" y1="253" x2="468" y2="253" fill="none" stroke="rgb(85,85,85)"/>
<line x1="470" y1="241" x2="470" y2="255" fill="none" stroke="rgb(170,170,170)"/>
<line x1="469" y1="254" x2="469" y2="254" fill="none" stroke="rgb(170,170,170)"/>
<rect x="288" y="238" width="179" height="14" fill="white" stroke="black"/>
<text x="311" y="251" font-family="굴림" font-size="8pt" fill="black">
ÆäÀÌÁöºä ¼ö
</text>
<rect x="294" y="242" width="12" height="6" fill="rgb(206,48,99)" stroke="black"/>
<text x="396" y="251" font-family="굴림" font-size="8pt" fill="black">
¹æ¹® Ƚ¼ö
</text>
<rect x="379" y="242" width="12" height="6" fill="rgb(132,195,132)" stroke="black"/>
<polygon fill="none" stroke="black"
points="57,32 639,32 639,206 57,206 "/>
<polygon fill="rgb(255,255,215)" stroke="black"
points="51,38 57,32 57,206 51,212 "/>
<polygon fill="rgb(255,255,215)" stroke="black"
points="51,212 633,212 639,206 57,206 "/>
<text x="85" y="230" font-family="굴림" font-size="8pt" fill="black">
@U#EC9DBCEC9A94EC9DBC
</text>
<text x="165" y="230" font-family="굴림" font-size="8pt" fill="black">
@U#EC9B94EC9A94EC9DBC
</text>
<text x="246" y="230" font-family="굴림" font-size="8pt" fill="black">
@U#ED9994EC9A94EC9DBC
</text>
<text x="326" y="230" font-family="굴림" font-size="8pt" fill="black">
@U#EC8898EC9A94EC9DBC
</text>
<text x="406" y="230" font-family="굴림" font-size="8pt" fill="black">
@U#EBAAA9EC9A94EC9DBC
</text>
<text x="487" y="230" font-family="굴림" font-size="8pt" fill="black">
@U#EAB888EC9A94EC9DBC
</text>
<text x="567" y="230" font-family="굴림" font-size="8pt" fill="black">
@U#ED86A0EC9A94EC9DBC
</text>
<line x1="51" y1="212" x2="633" y2="212" fill="none" stroke="black" stroke-width="2"/>
<line x1="101" y1="213" x2="101" y2="217" fill="none" stroke="gray"/>
<line x1="181" y1="213" x2="181" y2="217" fill="none" stroke="gray"/>
<line x1="262" y1="213" x2="262" y2="217" fill="none" stroke="gray"/>
<line x1="342" y1="213" x2="342" y2="217" fill="none" stroke="gray"/>
<line x1="422" y1="213" x2="422" y2="217" fill="none" stroke="gray"/>
<line x1="503" y1="213" x2="503" y2="217" fill="none" stroke="gray"/>
<line x1="583" y1="213" x2="583" y2="217" fill="none" stroke="gray"/>
<line x1="107" y1="32" x2="107" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="101" y1="212" x2="107" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="187" y1="32" x2="187" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="181" y1="212" x2="187" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="268" y1="32" x2="268" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="262" y1="212" x2="268" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="348" y1="32" x2="348" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="342" y1="212" x2="348" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="428" y1="32" x2="428" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="422" y1="212" x2="428" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="509" y1="32" x2="509" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="503" y1="212" x2="509" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="589" y1="32" x2="589" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="583" y1="212" x2="589" y2="206" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="101" y1="211" x2="101" y2="211" fill="none" stroke="gray"/>
<line x1="181" y1="211" x2="181" y2="211" fill="none" stroke="gray"/>
<line x1="262" y1="211" x2="262" y2="211" fill="none" stroke="gray"/>
<line x1="342" y1="211" x2="342" y2="211" fill="none" stroke="gray"/>
<line x1="422" y1="211" x2="422" y2="211" fill="none" stroke="gray"/>
<line x1="503" y1="211" x2="503" y2="211" fill="none" stroke="gray"/>
<line x1="583" y1="211" x2="583" y2="211" fill="none" stroke="gray"/>
<line x1="81" y1="213" x2="81" y2="215" fill="none" stroke="gray"/>
<line x1="603" y1="213" x2="603" y2="215" fill="none" stroke="gray"/>
<line x1="61" y1="213" x2="61" y2="215" fill="none" stroke="gray"/>
<line x1="623" y1="213" x2="623" y2="215" fill="none" stroke="gray"/>
<line x1="161" y1="213" x2="161" y2="215" fill="none" stroke="gray"/>
<line x1="141" y1="213" x2="141" y2="215" fill="none" stroke="gray"/>
<line x1="121" y1="213" x2="121" y2="215" fill="none" stroke="gray"/>
<line x1="242" y1="213" x2="242" y2="215" fill="none" stroke="gray"/>
<line x1="222" y1="213" x2="222" y2="215" fill="none" stroke="gray"/>
<line x1="201" y1="213" x2="201" y2="215" fill="none" stroke="gray"/>
<line x1="322" y1="213" x2="322" y2="215" fill="none" stroke="gray"/>
<line x1="302" y1="213" x2="302" y2="215" fill="none" stroke="gray"/>
<line x1="282" y1="213" x2="282" y2="215" fill="none" stroke="gray"/>
<line x1="402" y1="213" x2="402" y2="215" fill="none" stroke="gray"/>
<line x1="382" y1="213" x2="382" y2="215" fill="none" stroke="gray"/>
<line x1="362" y1="213" x2="362" y2="215" fill="none" stroke="gray"/>
<line x1="483" y1="213" x2="483" y2="215" fill="none" stroke="gray"/>
<line x1="463" y1="213" x2="463" y2="215" fill="none" stroke="gray"/>
<line x1="442" y1="213" x2="442" y2="215" fill="none" stroke="gray"/>
<line x1="563" y1="213" x2="563" y2="215" fill="none" stroke="gray"/>
<line x1="543" y1="213" x2="543" y2="215" fill="none" stroke="gray"/>
<line x1="523" y1="213" x2="523" y2="215" fill="none" stroke="gray"/>
<text x="26" y="52" font-family="굴림" font-size="8pt" fill="black">
400
</text>
<text x="26" y="73" font-family="굴림" font-size="8pt" fill="black">
350
</text>
<text x="26" y="93" font-family="굴림" font-size="8pt" fill="black">
300
</text>
<text x="26" y="114" font-family="굴림" font-size="8pt" fill="black">
250
</text>
<text x="26" y="135" font-family="굴림" font-size="8pt" fill="black">
200
</text>
<text x="26" y="156" font-family="굴림" font-size="8pt" fill="black">
150
</text>
<text x="26" y="176" font-family="굴림" font-size="8pt" fill="black">
100
</text>
<text x="32" y="197" font-family="굴림" font-size="8pt" fill="black">
50
</text>
<text x="38" y="218" font-family="굴림" font-size="8pt" fill="black">
0
</text>
<line x1="51" y1="38" x2="51" y2="212" fill="none" stroke="black" stroke-width="2"/>
<line x1="50" y1="46" x2="46" y2="46" fill="none" stroke="gray"/>
<line x1="50" y1="67" x2="46" y2="67" fill="none" stroke="gray"/>
<line x1="50" y1="87" x2="46" y2="87" fill="none" stroke="gray"/>
<line x1="50" y1="108" x2="46" y2="108" fill="none" stroke="gray"/>
<line x1="50" y1="129" x2="46" y2="129" fill="none" stroke="gray"/>
<line x1="50" y1="150" x2="46" y2="150" fill="none" stroke="gray"/>
<line x1="50" y1="170" x2="46" y2="170" fill="none" stroke="gray"/>
<line x1="50" y1="191" x2="46" y2="191" fill="none" stroke="gray"/>
<line x1="50" y1="212" x2="46" y2="212" fill="none" stroke="gray"/>
<line x1="57" y1="40" x2="639" y2="40" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="51" y1="46" x2="57" y2="40" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="57" y1="61" x2="639" y2="61" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="51" y1="67" x2="57" y2="61" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="57" y1="81" x2="639" y2="81" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="51" y1="87" x2="57" y2="81" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="57" y1="102" x2="639" y2="102" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="51" y1="108" x2="57" y2="102" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="57" y1="123" x2="639" y2="123" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="51" y1="129" x2="57" y2="123" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="57" y1="144" x2="639" y2="144" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="51" y1="150" x2="57" y2="144" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="57" y1="164" x2="639" y2="164" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="51" y1="170" x2="57" y2="164" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="57" y1="185" x2="639" y2="185" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="51" y1="191" x2="57" y2="185" fill="none" stroke="gray" stroke-dasharray="2, 2" />
<line x1="52" y1="46" x2="52" y2="46" fill="none" stroke="gray"/>
<line x1="52" y1="67" x2="52" y2="67" fill="none" stroke="gray"/>
<line x1="52" y1="87" x2="52" y2="87" fill="none" stroke="gray"/>
<line x1="52" y1="108" x2="52" y2="108" fill="none" stroke="gray"/>
<line x1="52" y1="129" x2="52" y2="129" fill="none" stroke="gray"/>
<line x1="52" y1="150" x2="52" y2="150" fill="none" stroke="gray"/>
<line x1="52" y1="170" x2="52" y2="170" fill="none" stroke="gray"/>
<line x1="52" y1="191" x2="52" y2="191" fill="none" stroke="gray"/>
<line x1="52" y1="212" x2="52" y2="212" fill="none" stroke="gray"/>
<line x1="50" y1="57" x2="48" y2="57" fill="none" stroke="gray"/>
<line x1="50" y1="77" x2="48" y2="77" fill="none" stroke="gray"/>
<line x1="50" y1="98" x2="48" y2="98" fill="none" stroke="gray"/>
<line x1="50" y1="119" x2="48" y2="119" fill="none" stroke="gray"/>
<line x1="50" y1="140" x2="48" y2="140" fill="none" stroke="gray"/>
<line x1="50" y1="160" x2="48" y2="160" fill="none" stroke="gray"/>
<line x1="50" y1="181" x2="48" y2="181" fill="none" stroke="gray"/>
<line x1="50" y1="202" x2="48" y2="202" fill="none" stroke="gray"/>
<g clip-path="url(#Clip1)">
<defs>
<clipPath id="Clip1" style="clip-rule:nonzero">
<polygon points="639,207 633,213 51,213 51,38 57,32 639,32 "/>
</clipPath>
</defs>
<polygon fill="rgb(206,48,99)" stroke="black"
points="79,160 130,160 130,209 79,209 "/>
<polygon fill="rgb(78,0,0)" stroke="black"
points="130,160 133,157 133,206 130,209 "/>
<polygon fill="rgb(142,0,35)" stroke="black"
points="79,160 130,160 133,157 82,157 "/>
<polygon fill="rgb(206,48,99)" stroke="black"
points="159,116 210,116 210,209 159,209 "/>
<polygon fill="rgb(78,0,0)" stroke="black"
points="210,116 213,113 213,206 210,209 "/>
<polygon fill="rgb(142,0,35)" stroke="black"
points="159,116 210,116 213,113 162,113 "/>
<polygon fill="rgb(206,48,99)" stroke="black"
points="240,171 291,171 291,209 240,209 "/>
<polygon fill="rgb(78,0,0)" stroke="black"
points="291,171 294,168 294,206 291,209 "/>
<polygon fill="rgb(142,0,35)" stroke="black"
points="240,171 291,171 294,168 243,168 "/>
<polygon fill="rgb(206,48,99)" stroke="black"
points="320,57 371,57 371,209 320,209 "/>
<polygon fill="rgb(78,0,0)" stroke="black"
points="371,57 374,54 374,206 371,209 "/>
<polygon fill="rgb(142,0,35)" stroke="black"
points="320,57 371,57 374,54 323,54 "/>
<polygon fill="rgb(206,48,99)" stroke="black"
points="400,121 451,121 451,209 400,209 "/>
<polygon fill="rgb(78,0,0)" stroke="black"
points="451,121 454,118 454,206 451,209 "/>
<polygon fill="rgb(142,0,35)" stroke="black"
points="400,121 451,121 454,118 403,118 "/>
<polygon fill="rgb(206,48,99)" stroke="black"
points="481,148 532,148 532,209 481,209 "/>
<polygon fill="rgb(78,0,0)" stroke="black"
points="532,148 535,145 535,206 532,209 "/>
<polygon fill="rgb(142,0,35)" stroke="black"
points="481,148 532,148 535,145 484,145 "/>
<polygon fill="rgb(206,48,99)" stroke="black"
points="561,185 612,185 612,209 561,209 "/>
<polygon fill="rgb(78,0,0)" stroke="black"
points="612,185 615,182 615,206 612,209 "/>
<polygon fill="rgb(142,0,35)" stroke="black"
points="561,185 612,185 615,182 564,182 "/>
</g>
<line x1="105" y1="159" x2="105" y2="151" fill="none" stroke="white"/>
<rect x="91" y="152" width="30" height="1" fill="gray" stroke="none"/>
<rect x="121" y="140" width="1" height="13" fill="gray" stroke="none"/>
<rect x="90" y="139" width="30" height="12" fill="rgb(255,255,225)" stroke="black"/>
<text x="97" y="151" font-family="굴림" font-size="8pt" fill="black">
118
</text>
<line x1="185" y1="115" x2="185" y2="107" fill="none" stroke="white"/>
<rect x="171" y="108" width="30" height="1" fill="gray" stroke="none"/>
<rect x="201" y="96" width="1" height="13" fill="gray" stroke="none"/>
<rect x="170" y="95" width="30" height="12" fill="rgb(255,255,225)" stroke="black"/>
<text x="177" y="107" font-family="굴림" font-size="8pt" fill="black">
225
</text>
<line x1="266" y1="170" x2="266" y2="162" fill="none" stroke="white"/>
<rect x="255" y="163" width="24" height="1" fill="gray" stroke="none"/>
<rect x="279" y="151" width="1" height="13" fill="gray" stroke="none"/>
<rect x="254" y="150" width="24" height="12" fill="rgb(255,255,225)" stroke="black"/>
<text x="261" y="162" font-family="굴림" font-size="8pt" fill="black">
91
</text>
<line x1="346" y1="56" x2="346" y2="48" fill="none" stroke="white"/>
<rect x="332" y="49" width="30" height="1" fill="gray" stroke="none"/>
<rect x="362" y="37" width="1" height="13" fill="gray" stroke="none"/>
<rect x="331" y="36" width="30" height="12" fill="rgb(255,255,225)" stroke="black"/>
<text x="338" y="48" font-family="굴림" font-size="8pt" fill="black">
366
</text>
<line x1="426" y1="120" x2="426" y2="112" fill="none" stroke="white"/>
<rect x="412" y="113" width="30" height="1" fill="gray" stroke="none"/>
<rect x="442" y="101" width="1" height="13" fill="gray" stroke="none"/>
<rect x="411" y="100" width="30" height="12" fill="rgb(255,255,225)" stroke="black"/>
<text x="418" y="112" font-family="굴림" font-size="8pt" fill="black">
212
</text>
<line x1="507" y1="147" x2="507" y2="139" fill="none" stroke="white"/>
<rect x="493" y="140" width="30" height="1" fill="gray" stroke="none"/>
<rect x="523" y="128" width="1" height="13" fill="gray" stroke="none"/>
<rect x="492" y="127" width="30" height="12" fill="rgb(255,255,225)" stroke="black"/>
<text x="499" y="139" font-family="굴림" font-size="8pt" fill="black">
148
</text>
<line x1="587" y1="184" x2="587" y2="176" fill="none" stroke="white"/>
<rect x="576" y="177" width="24" height="1" fill="gray" stroke="none"/>
<rect x="600" y="165" width="1" height="13" fill="gray" stroke="none"/>
<rect x="575" y="164" width="24" height="12" fill="rgb(255,255,225)" stroke="black"/>
<text x="582" y="176" font-family="굴림" font-size="8pt" fill="black">
57
</text>
<g clip-path="url(#Clip2)">
<defs>
<clipPath id="Clip2" style="clip-rule:nonzero">
<polygon points="639,207 633,213 51,213 51,38 57,32 639,32 "/>
</clipPath>
</defs>
<polygon fill="rgb(132,195,132)" stroke="black"
points="181,200 101,206 104,203 184,197 "/>
<polygon fill="rgb(132,195,132)" stroke="black"
points="262,207 181,200 184,197 265,204 "/>
<polygon fill="rgb(132,195,132)" stroke="black"
points="342,169 262,207 265,204 345,166 "/>
<polygon fill="rgb(132,195,132)" stroke="black"
points="422,199 342,169 345,166 425,196 "/>
<polygon fill="rgb(132,195,132)" stroke="black"
points="503,205 422,199 425,196 506,202 "/>
<polygon fill="rgb(132,195,132)" stroke="black"
points="583,206 503,205 506,202 586,203 "/>
</g>
<line x1="101" y1="206" x2="101" y2="198" fill="none" stroke="white"/>
<rect x="90" y="199" width="23" height="1" fill="gray" stroke="none"/>
<rect x="113" y="184" width="1" height="16" fill="gray" stroke="none"/>
<rect x="89" y="183" width="23" height="15" fill="rgb(255,255,225)" stroke="black"/>
<text x="96" y="195" font-family="Arial" font-size="8pt" fill="black">
15
</text>
<line x1="181" y1="200" x2="181" y2="192" fill="none" stroke="white"/>
<rect x="170" y="193" width="23" height="1" fill="gray" stroke="none"/>
<rect x="193" y="178" width="1" height="16" fill="gray" stroke="none"/>
<rect x="169" y="177" width="23" height="15" fill="rgb(255,255,225)" stroke="black"/>
<text x="176" y="189" font-family="Arial" font-size="8pt" fill="black">
29
</text>
<line x1="262" y1="207" x2="262" y2="199" fill="none" stroke="white"/>
<rect x="251" y="200" width="23" height="1" fill="gray" stroke="none"/>
<rect x="274" y="185" width="1" height="16" fill="gray" stroke="none"/>
<rect x="250" y="184" width="23" height="15" fill="rgb(255,255,225)" stroke="black"/>
<text x="257" y="196" font-family="Arial" font-size="8pt" fill="black">
13
</text>
<line x1="342" y1="169" x2="342" y2="161" fill="none" stroke="white"/>
<rect x="328" y="162" width="29" height="1" fill="gray" stroke="none"/>
<rect x="357" y="147" width="1" height="16" fill="gray" stroke="none"/>
<rect x="327" y="146" width="29" height="15" fill="rgb(255,255,225)" stroke="black"/>
<text x="334" y="158" font-family="Arial" font-size="8pt" fill="black">
104
</text>
<line x1="422" y1="199" x2="422" y2="191" fill="none" stroke="white"/>
<rect x="411" y="192" width="23" height="1" fill="gray" stroke="none"/>
<rect x="434" y="177" width="1" height="16" fill="gray" stroke="none"/>
<rect x="410" y="176" width="23" height="15" fill="rgb(255,255,225)" stroke="black"/>
<text x="417" y="188" font-family="Arial" font-size="8pt" fill="black">
32
</text>
<line x1="503" y1="205" x2="503" y2="197" fill="none" stroke="white"/>
<rect x="492" y="198" width="23" height="1" fill="gray" stroke="none"/>
<rect x="515" y="183" width="1" height="16" fill="gray" stroke="none"/>
<rect x="491" y="182" width="23" height="15" fill="rgb(255,255,225)" stroke="black"/>
<text x="498" y="194" font-family="Arial" font-size="8pt" fill="black">
16
</text>
<line x1="583" y1="206" x2="583" y2="198" fill="none" stroke="white"/>
<rect x="572" y="199" width="23" height="1" fill="gray" stroke="none"/>
<rect x="595" y="184" width="1" height="16" fill="gray" stroke="none"/>
<rect x="571" y="183" width="23" height="15" fill="rgb(255,255,225)" stroke="black"/>
<text x="578" y="195" font-family="Arial" font-size="8pt" fill="black">
14
</text>
</svg>