<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/potrace/patches/" rel="alternate"/><link href="https://sourceforge.net/p/potrace/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/potrace/patches/</id><updated>2007-05-22T13:07:46Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Fix depths of XFig objects</title><link href="https://sourceforge.net/p/potrace/patches/3/" rel="alternate"/><published>2007-05-22T13:07:46Z</published><updated>2007-05-22T13:07:46Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.netc26e126a8008f091f9c40a3638aaf09af189a603</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;As far as I understand, the XFig backend generates a big background splines in black color and several foreground splines in white color.  This is fine, but since it sets the depth of all objects to 50, manipulation of the resulting XFig file can result in wrong displays.  This happens because the order of redrawing of objects of same depth is random and sometimes the black background comes to the foreground.&lt;/p&gt;
&lt;p&gt;The thin patch attached below fixes the problem by setting the depth of the white objects to 49.&lt;/p&gt;
&lt;p&gt;Rafael Laboissiere&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>backend to sif ( synfig 2d vector animation program) </title><link href="https://sourceforge.net/p/potrace/patches/2/" rel="alternate"/><published>2006-05-09T20:44:27Z</published><updated>2006-05-09T20:44:27Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.net31b3d956ce5cd2cf79271f22fedf9bfe458a3f77</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This adds one more backend to potrace. &lt;/p&gt;
&lt;p&gt;sif = synfig file format&lt;/p&gt;
&lt;p&gt;synfig ( open source program ) : &lt;br /&gt;
&lt;a href="http://www.synfig.com/" rel="nofollow"&gt;http://www.synfig.com/&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;This backend have some errors, the problem is that &lt;br /&gt;
there is no spec about sif format , so i had to &lt;br /&gt;
discover what the xml tags do. &lt;/p&gt;
&lt;p&gt;if anyone would like to help me testing/code&lt;br /&gt;
contact me. &lt;/p&gt;
&lt;p&gt;you can see a example of the backend in here: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.alunos.uevora.pt" rel="nofollow"&gt;http://www.alunos.uevora.pt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is for potrace-1.7 src version &lt;/p&gt;
&lt;p&gt;apply patch to src/ , then ./configure ...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Autorotation algorithm</title><link href="https://sourceforge.net/p/potrace/patches/1/" rel="alternate"/><published>2004-11-16T21:59:40Z</published><updated>2004-11-16T21:59:40Z</updated><author><name>Chris King</name><uri>https://sourceforge.net/u/userid-573252/</uri></author><id>https://sourceforge.netfaa8dd72269aa2c7831cd1998f5354896dc2e8ed</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here is a small patch that adds an autorotation&lt;br /&gt;
algorithm to potrace.  Basically, it tries to guess at&lt;br /&gt;
which angle the image looks the most "upright" based on&lt;br /&gt;
horizontal and vertical lines in the image.  It works&lt;br /&gt;
best for things like sheet music and schematics with&lt;br /&gt;
many horizontal and vertical lines.&lt;/p&gt;
&lt;p&gt;Some of the parameters may need tweaking (namely the&lt;br /&gt;
THRESHOLD_DEG parameter), and the algorithm should&lt;br /&gt;
probably be much more selective about which curves it&lt;br /&gt;
analyzes, but that'll come another time.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>