This project is read-only.

svg To png, text not exported correctly

Oct 29, 2014 at 12:22 PM
Exporting like this
            Dim sample = Svg.SvgDocument.Open(Server.MapPath("~/App_Data/temp.svg"))
            sample.Draw().Save(imgPng)
It is exporting the following svg
<?xml version='1.0' ?><svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='700px' height='200px' style='position: relative; display: inline;'><defs id='k10046'></defs><path style='display: block; '  d='M0 0 700 0 700 200 0 200 z'  stroke=''   stroke-width='0'  stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='none'></path><path style='display: block; '  d='M215 2 698 2 698 198 215 198 z'   stroke-width='0.1'  stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='#ffffff'></path><path  id='k10003' style='display: block; '  data-model-id='k10001'  d='M215 2 698 2 698 198 215 198 z'  stroke=''   stroke-linecap='square' stroke-linejoin='round' fill-opacity='0' stroke-opacity='1' fill='#fff'></path><g id='k10012' ></g><g><path  id='k10047' style='display: block; '  data-model-id='k10009'  d='M 456.5 4 A96 96 0 0,1 456.5 196 L 456.5 100 z'   stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='#fcd353'></path><path  id='k10010' style='display: block; '  data-model-id='k10009'  d='M 456.5 4 A96 96 0 0,1 456.5 196 L 456.5 100 z'   stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='none'></path></g><g><path  id='k10048' style='display: block; '  data-model-id='k10007'  d='M 456.5 196 A96 96 0 0,1 456.5 4 L 456.5 100 z'   stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='#f78707'></path><path  id='k10008' style='display: block; '  data-model-id='k10007'  d='M 456.5 196 A96 96 0 0,1 456.5 4 L 456.5 100 z'   stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='none'></path></g><g><path style='display: block; '  d='M7 62 210 62 210 136 7 136 z'  stroke=''   stroke-width='0'  stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='#ffffff'></path><text  id='k10019'   data-model-id='k10018'  x='28' y='80' fill-opacity='1'  style='font: 14px Arial; cursor: pointer;' fill='#000'>Mottagna och lästa 50.00% </text><text  id='k10017'   data-model-id='k10016'  x='28' y='96' fill-opacity='1'  style='font: 14px Arial; cursor: pointer;' fill='#000'>Mottagna ej lästa 50.00% </text><text  id='k10015'   data-model-id='k10014'  x='28' y='112' fill-opacity='1'  style='font: 14px Arial; cursor: pointer;' fill='#000'>Mjuk studs 0.00% </text><text  id='k10013'   data-model-id='k10045'  x='28' y='128' fill-opacity='1'  style='font: 14px Arial; cursor: pointer;' fill='#000'>Hård studs 0.00% </text><path style='display: block; cursor: pointer;'  data-model-id='k10018'  d='M12 71 20 71 20 79 12 79 z'  stroke='#fcd353'   stroke-width='1'  stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='#fcd353'></path><path style='display: block; cursor: pointer;'  data-model-id='k10016'  d='M12 87 20 87 20 95 12 95 z'  stroke='#f78707'   stroke-width='1'  stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='#f78707'></path><path style='display: block; cursor: pointer;'  data-model-id='k10014'  d='M12 103 20 103 20 111 12 111 z'  stroke='#f74747'   stroke-width='1'  stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='#f74747'></path><path style='display: block; cursor: pointer;'  data-model-id='k10045'  d='M12 119 20 119 20 127 12 127 z'  stroke='#333333'   stroke-width='1'  stroke-linecap='square' stroke-linejoin='round' fill-opacity='1' stroke-opacity='1' fill='#333333'></path></g></svg>
as this image

Image


Problems:
Text not shown


Any Help Please!!
Dec 10, 2014 at 10:11 PM
the codeplex repo is over 2 years old, please use this fork now: https://github.com/vvvv/SVG