<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/svgdomcsharp/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 20 Jun 2006 21:10:19 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/svgdomcsharp/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>Unhandled exception occurs with following SVG</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="http://www.ch.ic.ac.uk/svg/iod.svg" rel="nofollow"&gt;http://www.ch.ic.ac.uk/svg/iod.svg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An unhandled exception of type&lt;br /&gt;
'System.ArgumentException' occurred in system.xml.dll&lt;/p&gt;
&lt;p&gt;Additional information: Prefixes beginning with "xml"&lt;br /&gt;
(regardless of whether the characters are uppercase,&lt;br /&gt;
lowercase, or some combination thereof) are reserved&lt;br /&gt;
for use by XML.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 20 Jun 2006 21:10:19 -0000</pubDate><guid>https://sourceforge.netd01053a1fce4e3775905f292bfc339e60e9383ac</guid></item><item><title>renderengine dll crash</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;SvgWindow window = (SvgWindow)svgPictureBox.Window;&lt;/p&gt;
&lt;p&gt;svgPictureBox.LoadXml("&amp;lt;svg&lt;br /&gt;
xmlns='http://www.w3.org/2000/svg'/&amp;gt;");&lt;/p&gt;
&lt;p&gt;I'm doing this piece of code on my form constructor,&lt;br /&gt;
and i have the following windows form initialization:&lt;/p&gt;
&lt;p&gt;this.svgPictureBox.AutoSize = true;&lt;/p&gt;
&lt;p&gt;this.svgPictureBox.Dock =&lt;br /&gt;
System.Windows.Forms.DockStyle.Fill;&lt;/p&gt;
&lt;p&gt;this.svgPictureBox.Location = new&lt;br /&gt;
System.Drawing.Point(0, 0);&lt;/p&gt;
&lt;p&gt;this.svgPictureBox.Name = "svgPictureBox";&lt;/p&gt;
&lt;p&gt;this.svgPictureBox.Size = new System.Drawing.Size(624,&lt;br /&gt;
381);&lt;/p&gt;
&lt;p&gt;this.svgPictureBox.Surface = null;&lt;/p&gt;
&lt;p&gt;this.svgPictureBox.TabIndex = 25;&lt;/p&gt;
&lt;p&gt;when i minimize the window, a nullpointerexception is&lt;br /&gt;
thrown at GraphicsNode.BeforeRender(ISvgRenderer&lt;br /&gt;
renderer) overriden method. More exactly, at the&lt;br /&gt;
following line:&lt;/p&gt;
&lt;p&gt;graphicsContainer = graphics.BeginContainer();&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Francisco Pires</dc:creator><pubDate>Thu, 13 Apr 2006 04:34:05 -0000</pubDate><guid>https://sourceforge.netf1160f4fbc070262e6ced8dbaf40a91b8aea66b4</guid></item><item><title>Vertically transposed text not appearing correctly</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've got an SVG export from the Nevron Charting tool. &lt;br /&gt;
It looks fine when I view it in the Adobe SVG Viewer, &lt;br /&gt;
but when I export the SVG using SVG#, using the &lt;br /&gt;
following code:&lt;/p&gt;
&lt;p&gt;______          &lt;br /&gt;
SharpVectors.Renderer.Gdi.GdiRenderer renderer &lt;br /&gt;
= new SharpVectors.Renderer.Gdi.GdiRenderer();&lt;/p&gt;
&lt;p&gt;SharpVectors.Dom.Svg.SvgWindow window = new &lt;br /&gt;
SharpVectors.Dom.Svg.SvgWindow(4000, 1000, renderer);&lt;/p&gt;
&lt;p&gt;SharpVectors.Dom.Svg.SvgDocument document = &lt;br /&gt;
new SharpVectors.Dom.Svg.SvgDocument(window);&lt;br /&gt;
document.Load&lt;br /&gt;
(this.textBox1.Text);&lt;/p&gt;
&lt;p&gt;Bitmap bitmap = &lt;br /&gt;
renderer.Render(document);&lt;br /&gt;
bitmap.Save&lt;br /&gt;
("c:\\temp\\out.png", &lt;br /&gt;
System.Drawing.Imaging.ImageFormat.Png);&lt;br /&gt;
______          &lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;The process succeeds, but the text is not shown &lt;br /&gt;
correctly. I'll attach the SVG and outputted PNG files &lt;br /&gt;
for reference.&lt;/p&gt;
&lt;p&gt;This is happening on version 0.4 alpha of the code.&lt;/p&gt;
&lt;p&gt;closey1 ATTTT hawtmail.com&lt;br /&gt;
not hawt, but hot.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 09 Jan 2006 00:31:58 -0000</pubDate><guid>https://sourceforge.netc28a8a080e3c3a292e73915a2d10dfd64e29f438</guid></item><item><title>When I use svg.Load(@"C:\xyz.svg" I get the following error</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When I use svg.Load(@"C:\xyz.svg" I get the following &lt;br /&gt;
error:&lt;/p&gt;
&lt;p&gt;Additional information: Prefixes beginning with "xml" &lt;br /&gt;
(regardless of whether the characters are uppercase, &lt;br /&gt;
lowercase, or some combination thereof) are reserved for &lt;br /&gt;
use by XML.&lt;/p&gt;
&lt;p&gt;My Code:&lt;br /&gt;
SharpVectors.Dom.Svg.SvgWindow sw = new &lt;br /&gt;
SharpVectors.Dom.Svg.SvgWindow(100,100);&lt;br /&gt;
SharpVectors.Dom.Svg.SvgDocument svg = new &lt;br /&gt;
SharpVectors.Dom.Svg.SvgDocument(sw);&lt;br /&gt;
svg.Load(@"C:\Documents and &lt;br /&gt;
Settings\abennett\Desktop\S200553-4.1&lt;br /&gt;
\E8I03JE84MUL.svg");&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 17 Mar 2005 22:26:57 -0000</pubDate><guid>https://sourceforge.netee41b59ee4b00398a110227a5411391d6687f43a</guid></item><item><title>Vertical gradients?</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;With build 3.1, I cannot get a gradient to render &lt;br /&gt;
vertically, only horizontally.&lt;/p&gt;
&lt;p&gt;Yet, when I use the Online Demo, it renders correctly.&lt;br /&gt;
Is the online demo build the 3.1 build?&lt;/p&gt;
&lt;p&gt;Here's the SVG I used:&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version="1.0" ?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 &lt;br /&gt;
Basic//EN" &lt;/p&gt;
&lt;p&gt;"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-&lt;br /&gt;
basic.dtd"&amp;gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;&amp;lt;svg xmlns="http://www.w3.org/2000/svg" id="svg-root" &lt;br /&gt;
width="100%" &lt;/p&gt;
&lt;p&gt;height="100%" version="1.1" baseProfile="basic"&amp;gt;&lt;br /&gt;
&amp;lt;defs&amp;gt;&lt;br /&gt;
&amp;lt;linearGradient id="bggradient" &lt;br /&gt;
x1="0%" y1="0%" x2="0%" &lt;/p&gt;
&lt;p&gt;y2="100%"&amp;gt;&lt;br /&gt;
&amp;lt;stop offset="0%" &lt;/p&gt;
&lt;p&gt;style="stop-color:rgb(255,255,0);stop-opacity:1"/&amp;gt;&lt;br /&gt;
&amp;lt;stop offset="100%" &lt;/p&gt;
&lt;p&gt;style="stop-color:rgb(255,0,0);stop-opacity:1"/&amp;gt;&lt;br /&gt;
&amp;lt;/linearGradient&amp;gt;&lt;br /&gt;
&amp;lt;/defs&amp;gt;&lt;br /&gt;
&amp;lt;rect width="100%" height="100%" &lt;br /&gt;
style="fill:url(#bggradient)"/&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 05 Jan 2004 23:57:04 -0000</pubDate><guid>https://sourceforge.netb07939d75af299de269cf2d959a3e93767754716</guid></item><item><title>Local SVG file handle not closed after loading</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Because the XmlReader is not closed after the &lt;br /&gt;
SvgDocument.LoadAndFire method is ran, the file is &lt;br /&gt;
locked, making any changes to the SVG file impossible &lt;br /&gt;
after the file has been loaded.  The following fixes the &lt;br /&gt;
bug:&lt;/p&gt;
&lt;p&gt;in SvgDocument.cs, line 446:&lt;br /&gt;
reader.Close();&lt;br /&gt;
#endif//ENABLE_LOAD_EVENTS&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Change to:&lt;/p&gt;
&lt;p&gt;#endif//ENABLE_LOAD_EVENTS&lt;br /&gt;
reader.Close();&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 05 Jan 2004 23:55:03 -0000</pubDate><guid>https://sourceforge.netcd925418db90d0038ec80e3152c2d448e7294bb4</guid></item><item><title>Unable to load SVG generated by Jasc Webdraw</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Opening the attached file causes an exception.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Victor Boctor</dc:creator><pubDate>Fri, 12 Dec 2003 03:29:47 -0000</pubDate><guid>https://sourceforge.net390ef4cbd976a462177c4713a79dfe1da9db3c3e</guid></item><item><title>uri(#&amp;lt;id&amp;gt;) reference fails for svg loaded from a strin</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;First off, this project is elegant, well organized, and very &lt;br /&gt;
useful !!&lt;/p&gt;
&lt;p&gt;Bug description:  when a svg document is loaded from a &lt;br /&gt;
string, the uri(#&amp;amp;lt;id&amp;amp;gt;) references generate an exception &lt;br /&gt;
when rendering.&lt;/p&gt;
&lt;p&gt;Workaround:  write the string to a temporary file and &lt;br /&gt;
load from the file.&lt;/p&gt;
&lt;p&gt;Code to reproduce:&lt;br /&gt;
-----------------------------------------&lt;br /&gt;
GdiRenderer svgRenderer = new GdiRenderer();&lt;br /&gt;
SvgWindow window = new SvgWindow(75, 25, &lt;br /&gt;
svgRenderer);&lt;br /&gt;
SvgDocument doc = new SvgDocument(window);&lt;/p&gt;
&lt;p&gt;doc.LoadXml(&amp;amp;quot;&amp;amp;lt;svg xmlns='http://www.w3.org/2000/svg' &lt;br /&gt;
xmlns:xlink='http://www.w3.org/1999/xlink' &lt;br /&gt;
version='1.0.1' x='0' y='0' width='150' height='25' &lt;br /&gt;
viewBox='0 0 150 25'&amp;amp;gt;&amp;amp;lt;defs&amp;amp;gt;&amp;amp;lt;marker id='triangle1' &lt;br /&gt;
viewBox='0 0 10 10' refX='0' refY='5' &lt;br /&gt;
markerUnits='strokeWidth' markerWidth='4' &lt;br /&gt;
markerHeight='3'&amp;amp;gt;&amp;amp;lt;path d='M 0 0 L 10 5 L 0 10 &lt;br /&gt;
z' /&amp;amp;gt;&amp;amp;lt;/marker&amp;amp;gt;&amp;amp;lt;marker id='square' viewBox='0 0 10 10' &lt;br /&gt;
refX='5' refY='5' markerUnits='strokeWidth' &lt;br /&gt;
markerWidth='4' markerHeight='4'&amp;amp;gt;&amp;amp;lt;rect x='0' y='0' &lt;br /&gt;
width='10' height='10' /&amp;amp;gt;&amp;amp;lt;/marker&amp;amp;gt;&amp;amp;lt;marker id='circle' &lt;br /&gt;
viewBox='0 0 10 10' refX='5' refY='5' &lt;br /&gt;
markerUnits='strokeWidth' markerWidth='4' &lt;br /&gt;
markerHeight='4'&amp;amp;gt;&amp;amp;lt;circle cx='5' cy='5' &lt;br /&gt;
r='5' /&amp;amp;gt;&amp;amp;lt;/marker&amp;amp;gt;&amp;amp;lt;/defs&amp;amp;gt;&amp;amp;lt;polyline points='7.5 12.5 142.5 &lt;br /&gt;
12.5' stroke='green' stroke-width='3' stroke-&lt;br /&gt;
dasharray='10,5' marker-end='url(#square)' &lt;br /&gt;
fill='none' /&amp;amp;gt;&amp;amp;lt;/svg&amp;amp;gt;&amp;amp;quot;);&lt;/p&gt;
&lt;p&gt;Bitmap b = svgRenderer.Render(doc);&lt;br /&gt;
-----------------------------------------&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mike Graham</dc:creator><pubDate>Thu, 09 Oct 2003 12:04:06 -0000</pubDate><guid>https://sourceforge.net9e2c1ec290213e9a3979de467e610aa41842b594</guid></item><item><title>Exception in x-Attribute of rect-Element</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The x-Attribute (I think also the y-Attribute) of the rect-&lt;br /&gt;
element isn't supported.&lt;/p&gt;
&lt;p&gt;Even this small svg doesn't work:&lt;/p&gt;
&lt;p&gt;&amp;amp;lt;?xml version=&amp;amp;quot;1.0&amp;amp;quot; standalone=&amp;amp;quot;no&amp;amp;quot;?&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;!DOCTYPE svg PUBLIC &amp;amp;quot;-//W3C//DTD SVG &lt;br /&gt;
20001102//EN&amp;amp;quot; &lt;br /&gt;
&amp;amp;quot;http://www.w3.org/TR/2000/CR-SVG-&lt;br /&gt;
20001102/DTD/svg-20001102.dtd&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;svg width=&amp;amp;quot;1cm&amp;amp;quot; height=&amp;amp;quot;1cm&amp;amp;quot;&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;rect x=&amp;amp;quot;10&amp;amp;quot; y=&amp;amp;quot;10&amp;amp;quot; width=&amp;amp;quot;10&amp;amp;quot; height=&amp;amp;quot;10&amp;amp;quot;/&amp;amp;gt;&lt;br /&gt;
&amp;amp;lt;/svg&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;So SVG# is totaly unusable for me :-(&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 13 Aug 2003 08:35:26 -0000</pubDate><guid>https://sourceforge.net4a2caa00023cd1886568d14bfa98cd23fea19fc0</guid></item><item><title>creating images with no viewer</title><link>https://sourceforge.net/p/svgdomcsharp/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;2 problems.&lt;/p&gt;
&lt;p&gt;I'm trying to create a bitmap by passing in an svg &lt;br /&gt;
document and svg# seems to truncate the results. I &lt;br /&gt;
also cannot find a way to do this with without specifying &lt;br /&gt;
a size to pass in. Without a viewer I'm just making &lt;br /&gt;
something up, and it seems to affect how the image is &lt;br /&gt;
created (too small and the image disappears, too big &lt;br /&gt;
and your machine crashes).&lt;/p&gt;
&lt;p&gt;Here is the code fragment I'm using, adapted from your &lt;br /&gt;
viewer code:&lt;/p&gt;
&lt;p&gt;SvgWindow domWindow = new SvgWindow&lt;br /&gt;
(1000, 1000);&lt;br /&gt;
domWindow.Src &lt;br /&gt;
= &amp;amp;quot;file:///c:/tmp/batikLogoNoDtd.svg&amp;amp;quot;;&lt;br /&gt;
Bitmap bmp = (new GdiRenderer&lt;br /&gt;
(domWindow, Color.White)).Render();&lt;/p&gt;
&lt;p&gt;I've atttached the svg file that does not display correctly &lt;br /&gt;
using this code. It happens even if the size is increased &lt;br /&gt;
to 1500@1500.&lt;/p&gt;
&lt;p&gt;Can you please indicate how to use svg# as a bitmap &lt;br /&gt;
engine - i.e. passing a uri &amp;amp;amp;/or dom element without a &lt;br /&gt;
view to enforce a viewport size (i.e. use the image's &lt;br /&gt;
natural size). This is a feature in Batik  The code &lt;br /&gt;
fragment there is:&lt;/p&gt;
&lt;p&gt;fileStream = new FileOutputStream(file);&lt;br /&gt;
JPEGTranscoder t = new JPEGTranscoder();&lt;br /&gt;
t.addTranscodingHint&lt;br /&gt;
(JPEGTranscoder.KEY_QUALITY, new Float(.8));&lt;br /&gt;
TranscoderOutput output = new &lt;br /&gt;
TranscoderOutput(fileStream);&lt;br /&gt;
t.transcode(new TranscoderInput(uri), output);&lt;br /&gt;
-- or --&lt;br /&gt;
t.transcode(new TranscoderInput(doc), &lt;br /&gt;
output);&lt;/p&gt;
&lt;p&gt;Hopefully there is a code fragment I can use to work &lt;br /&gt;
around this. Thanks for all the great work!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 12 Apr 2003 16:59:58 -0000</pubDate><guid>https://sourceforge.net9803ec96adcb94d3467ee470efeab8aac844586d</guid></item></channel></rss>