<?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/pdfsharp/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/pdfsharp/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 28 Sep 2016 22:02:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pdfsharp/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#16 Index was outside the bounds of the array</title><link>https://sourceforge.net/p/pdfsharp/bugs/16/?limit=25#c148</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've been battling this thread safety bug and finally figured it out.  As you may know, FontData instances are stored in a dictionary and shared globally (via FontDataStock and FontDescriptorStock).  FontData.CreateFontSubset() calls over to GlyphDataTable.CompleteGlyphClosure() which calls AddCompositeGlyphs() and that's where the trouble really begins. You wind up with multiple threads changing the FontData instance's Position property simulanteously while trying to read from its buffer. The whole concept of FontData having a "current position" for reading the internal buffer is just asking for trouble in a multi-threaded environment where FontData instances are widely shared.&lt;/p&gt;
&lt;p&gt;I've got a fix for this that involves significant (but non-breaking) changes to the FontData class and small changes to GlyphDataTable. If anyone is interested I can elaborate and/or share the code.  The PDFSharp version I'm working with is 1.3.2608.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bradley Peet</dc:creator><pubDate>Wed, 28 Sep 2016 22:02:31 -0000</pubDate><guid>https://sourceforge.nete4253d1388efd7a822cd06f6d82d287f9e464f54</guid></item><item><title>#17 Several ContentWriter bugs</title><link>https://sourceforge.net/p/pdfsharp/bugs/17/?limit=25#b413</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you very much for your feedback.&lt;br /&gt;
The fix for 2 will be included in the next release.&lt;/p&gt;
&lt;p&gt;We think that your fix for 1 is not the cleanest solution. I think the fix should be made with CArray or CSequence. Can you provide a PDF file and may some (more) code that allows us to replicate the problem?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PDFsharp Team</dc:creator><pubDate>Thu, 06 Nov 2014 16:37:44 -0000</pubDate><guid>https://sourceforge.net4da943ba52ecf938dcdfaa5d97385b8a4f3438a4</guid></item><item><title>#13 unbelievable Font size</title><link>https://sourceforge.net/p/pdfsharp/bugs/13/?limit=25#4222</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; v1.0 (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PDFsharp Team</dc:creator><pubDate>Thu, 06 Nov 2014 12:51:23 -0000</pubDate><guid>https://sourceforge.net81a02fb96b4dc4700ae32736744e7e3471356581</guid></item><item><title>#13 unbelievable Font size</title><link>https://sourceforge.net/p/pdfsharp/bugs/13/?limit=25#aab0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Fix can be found here:&lt;br /&gt;
&lt;a href="http://forum.pdfsharp.net/viewtopic.php?p=7853#p7853" rel="nofollow"&gt;http://forum.pdfsharp.net/viewtopic.php?p=7853#p7853&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Fix will be included with the next release.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PDFsharp Team</dc:creator><pubDate>Thu, 06 Nov 2014 12:50:44 -0000</pubDate><guid>https://sourceforge.net00ceaa2839e1fc09d816ad16b55672d3fd2e5fbf</guid></item><item><title>#17 Several ContentWriter bugs</title><link>https://sourceforge.net/p/pdfsharp/bugs/17/?limit=25#2a9f</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PDFsharp Team</dc:creator><pubDate>Wed, 19 Jun 2013 14:21:18 -0000</pubDate><guid>https://sourceforge.net514af6d917c878451900df056ee41a5aa4e7a89f</guid></item><item><title>#17 Several ContentWriter bugs</title><link>https://sourceforge.net/p/pdfsharp/bugs/17/?limit=25#dbeb</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for the bug fixes, they are on the list for the next major update.&lt;/p&gt;
&lt;p&gt;Re second fix:&lt;br /&gt;
It seems that "#.0#########" would sometimes save a byte (but I didn't test it yet).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PDFsharp Team</dc:creator><pubDate>Wed, 19 Jun 2013 14:16:07 -0000</pubDate><guid>https://sourceforge.net35166e9843ec6af8800fe4c39ac8a0d939931726</guid></item><item><title>Several ContentWriter bugs</title><link>https://sourceforge.net/p/pdfsharp/bugs/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The following code can break a pdf file by changing its content to something invalid.&lt;/p&gt;
&lt;p&gt;CSequence content = ContentReader.ReadContent( page );&lt;br /&gt;
byte[] data = content.ToContent();&lt;br /&gt;
page.Contents.Elements.GetDictionary( 0 ).Stream.Value = data;&lt;br /&gt;
doc.Save( outputFile );&lt;/p&gt;
&lt;p&gt;1) CArray with multiple CReals are not seperated with spaces&lt;/p&gt;
&lt;p&gt;Old: &lt;span&gt;[6.1048 6.1048 ]&lt;/span&gt;0 d&lt;br /&gt;
New: &lt;span&gt;[6.10486.1048]&lt;/span&gt;0 d&lt;/p&gt;
&lt;p&gt;(My fix: move the '+ " "' in CInteger and CReal from WriteObject() to ToString())&lt;/p&gt;
&lt;p&gt;2) CReal's of sufficient precision are converted to scientific notation&lt;/p&gt;
&lt;p&gt;Old: .017701 .089784 .91061 .000031 k&lt;br /&gt;
New: 0.017701 0.089784 0.91061 3.1E-05 k&lt;/p&gt;
&lt;p&gt;(My fix: add format "0.0#########" to CReal.ToString())&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xiperware</dc:creator><pubDate>Wed, 19 Jun 2013 05:38:32 -0000</pubDate><guid>https://sourceforge.net5d465cedc4a8f3e4af480b3e28d2cca8a12f4705</guid></item><item><title>Several ContentWriter bugs</title><link>https://sourceforge.net/p/pdfsharp/bugs/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 17 has been modified: Several ContentWriter bugs&lt;br /&gt;
Edited By: PDFsharp Team (pdfsharp)&lt;br /&gt;
Status updated: u'open' =&amp;gt; u'accepted'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xiperware</dc:creator><pubDate>Wed, 19 Jun 2013 05:38:32 -0000</pubDate><guid>https://sourceforge.net6aef6153ab4f4d13c9a942a4eef4d83a21da2e22</guid></item><item><title>#16 Index was outside the bounds of the array</title><link>https://sourceforge.net/p/pdfsharp/bugs/16/?limit=25#b8c0</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; v1.0 (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PDFsharp Team</dc:creator><pubDate>Mon, 13 May 2013 09:23:43 -0000</pubDate><guid>https://sourceforge.netc1fe77ae9c9452c2978ae99b3be612b75d72bf6c</guid></item><item><title>#14 Faulty dirty tracking in XSolidBrush Color setter</title><link>https://sourceforge.net/p/pdfsharp/bugs/14/?limit=25#9c07</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; v1.0 (example)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">PDFsharp Team</dc:creator><pubDate>Mon, 13 May 2013 09:20:39 -0000</pubDate><guid>https://sourceforge.net631c43dcb42bbaf6c90755e735769155db686996</guid></item></channel></rss>