Menu

#10 Vertically transposed text not appearing correctly

open
nobody
SVG DOM (5)
5
2006-01-09
2006-01-09
Anonymous
No

I've got an SVG export from the Nevron Charting tool.
It looks fine when I view it in the Adobe SVG Viewer,
but when I export the SVG using SVG#, using the
following code:

______
SharpVectors.Renderer.Gdi.GdiRenderer renderer
= new SharpVectors.Renderer.Gdi.GdiRenderer();

SharpVectors.Dom.Svg.SvgWindow window = new
SharpVectors.Dom.Svg.SvgWindow(4000, 1000, renderer);

SharpVectors.Dom.Svg.SvgDocument document =
new SharpVectors.Dom.Svg.SvgDocument(window);
document.Load
(this.textBox1.Text);

Bitmap bitmap =
renderer.Render(document);
bitmap.Save
("c:\\temp\\out.png",
System.Drawing.Imaging.ImageFormat.Png);
______

The process succeeds, but the text is not shown
correctly. I'll attach the SVG and outputted PNG files
for reference.

This is happening on version 0.4 alpha of the code.

closey1 ATTTT hawtmail.com
not hawt, but hot.

Discussion

  • Nobody/Anonymous

    SVG and PNG file comparison

     
  • Nobody/Anonymous

    Logged In: NO

    I've got the same problem!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.