<div dir="ltr">i.e. is kind of out of my radar ... but for sure I should test with it some day.<div style>With my firefox it works fine. What do you mean by &quot;it fails&quot;? Do you get anything at all? Or is the graph cropped or something?</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/5 Jonathan Wilkes <span dir="ltr">&lt;<a href="mailto:jancsika@yahoo.com" target="_blank">jancsika@yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt;________________________________<br>
&gt; From: s p &lt;<a href="mailto:sebpiq@gmail.com">sebpiq@gmail.com</a>&gt;<br>
&gt;To:<br>
&gt;Cc: PD List &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br>
&gt;Sent: Sunday, May 5, 2013 10:39 AM<br>
&gt;Subject: Re: [PD] pd -&gt; svg<br>
<div class="im">&gt;<br>
&gt;<br>
&gt;<br>
&gt;Also, I put this library together a little while ago, as a part of WebPd : <br>
&gt;<br>
&gt;<br>
&gt;<a href="https://github.com/sebpiq/pd-fileutils" target="_blank">https://github.com/sebpiq/pd-fileutils</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;It should work out of the box, converting pd patch to SVG<br>
<br>
</div>Thanks.<br>
<br>
The demo below fails to load properly on Firefox and IE (whatever version on windows 7)<br>
<br>
<a href="http://sebpiq.github.io/pd-fileutils/?gist=5054711" target="_blank">http://sebpiq.github.io/pd-fileutils/?gist=5054711</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;2013/5/5 philippe boisnard &lt;<a href="mailto:philemon1@mac.com">philemon1@mac.com</a>&gt;<br>
&gt;<br>
&gt;Hi<br>
&gt;&gt;<br>
&gt;&gt;an example to create html/svg from pd<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;cheers<br>
&gt;&gt;<br>
&gt;&gt;p<br>
&gt;&gt;Le 5 mai 2013 à 10:53, Jonathan Wilkes a écrit :<br>
&gt;&gt;<br>
&gt;&gt;&gt; Used can2svg from Mats Bengtsson and got a nice result.  You can open it in a browser, zoom it, select text.  It&#39;s about 3x larger than pd file.  Probably wouldn&#39;t be too difficult to parse and turn most of the pddplinks into real links.<br>

&gt;&gt;&gt;<br>
&gt;&gt;&gt; What happened to pdpedia?  If it&#39;s still around maybe I can script this to do all the pd-ext help files and make a nice online resource.  It&#39;d probably be more powerful to parse pd files directly to svg but that&#39;s a bigger project.<br>

&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -Jonathan<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ----- Original Message -----<br>
&gt;&gt;&gt;&gt; From: Jonathan Wilkes &lt;<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt;<br>
&gt;&gt;&gt;&gt; To: PD List &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br>
&gt;&gt;&gt;&gt; Cc:<br>
&gt;&gt;&gt;&gt; Sent: Friday, May 3, 2013 1:40 PM<br>
&gt;&gt;&gt;&gt; Subject: [PD] pd -&gt; svg<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; A few points:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; * you can open svg in a browser<br>
&gt;&gt;&gt;&gt; * you can _zoom_ svg in a browser for decent results (it&#39;s a vector drawing)<br>
&gt;&gt;&gt;&gt; * in safari you can select text in an svg (but not Firefox because of a bug,<br>
&gt;&gt;&gt;&gt; although you can stil &lt;ctrl-c&gt; it)<br>
&gt;&gt;&gt;&gt; * much (but not all) of tk canvas has corresponding drawing instructions in<br>
&gt;&gt;&gt;&gt; svg.  unless i&#39;m missing something the subset of tk canvas commands used by<br>
&gt;&gt;&gt;&gt; Pd all have corresponding instructions in svg<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Here&#39;s what I want to do (in Debian Wheezy):<br>
&gt;&gt;&gt;&gt; 1) Open pd-extended<br>
&gt;&gt;&gt;&gt; 2) Create new patch<br>
&gt;&gt;&gt;&gt; 3) Create [f]<br>
&gt;&gt;&gt;&gt; 4) Right click to open up float-help.pd (PDDP revised version)<br>
&gt;&gt;&gt;&gt; 5) Click print and save to <a href="http://test.ps" target="_blank">test.ps</a><br>
&gt;&gt;&gt;&gt; 6) in cli type:<br>
&gt;&gt;&gt;&gt; pstoedit -f plot-svg <a href="http://test.ps" target="_blank">test.ps</a> test.svg<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; But I get this error:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; **** Warning: glyf overlaps cmap, truncating.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Anyone know what this means?  It ends up cropping the top and bottom of the<br>
&gt;&gt;&gt;&gt; patch.  Google search for the error doesn&#39;t help much.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; In the future it&#39;d probably be better to parse a *.pd file directly to<br>
&gt;&gt;&gt;&gt; convert to svg, but if I can convert a ps to svg like this I think I can script<br>
&gt;&gt;&gt;&gt; it and get some nice looking online searchable documentation with very little<br>
&gt;&gt;&gt;&gt; work. :)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; -Jonathan<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt;&gt;&gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt;&gt;&gt;&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;&gt; &lt;float-help.svg&gt;_______________________________________________<br>
&gt;&gt;&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt;&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;_______________________________________________<br>
&gt;&gt;<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt;UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>