<div dir="ltr">And what about the console? Any error there?</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/6 Jonathan Wilkes <span dir="ltr"><<a href="mailto:jancsika@yahoo.com" target="_blank">jancsika@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">>________________________________<br>
> From: s p <<a href="mailto:sebpiq@gmail.com">sebpiq@gmail.com</a>><br>
>To:<br>
>Cc: PD List <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>><br>
</div>>Sent: Sunday, May 5, 2013 5:05 PM<br>
<div class="im">>Subject: Re: [PD] pd -> svg<br>
><br>
><br>
><br>
</div><div class="im">>i.e. is kind of out of my radar ... but for sure I should test with it some day.<br>
>With my firefox it works fine. What do you mean by "it fails"? Do you get anything at all? Or is the graph cropped or something?<br>
<br>
<br>
</div>I get two horizontal dividers and the text "Loading..."<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
-Jonathan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
><br>
><br>
><br>
>2013/5/5 Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>><br>
><br>
>>________________________________<br>
>>> From: s p <<a href="mailto:sebpiq@gmail.com">sebpiq@gmail.com</a>><br>
>>>To:<br>
>>>Cc: PD List <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>><br>
>>>Sent: Sunday, May 5, 2013 10:39 AM<br>
>>>Subject: Re: [PD] pd -> svg<br>
>><br>
>>><br>
>>><br>
>>><br>
>>>Also, I put this library together a little while ago, as a part of WebPd : <br>
>>><br>
>>><br>
>>><a href="https://github.com/sebpiq/pd-fileutils" target="_blank">https://github.com/sebpiq/pd-fileutils</a><br>
>>><br>
>>><br>
>>><br>
>>>It should work out of the box, converting pd patch to SVG<br>
>><br>
>>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>
>><br>
>><br>
>><br>
>>><br>
>>><br>
>>><br>
>>>2013/5/5 philippe boisnard <<a href="mailto:philemon1@mac.com">philemon1@mac.com</a>><br>
>>><br>
>>>Hi<br>
>>>><br>
>>>>an example to create html/svg from pd<br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>>cheers<br>
>>>><br>
>>>>p<br>
>>>>Le 5 mai 2013 à 10:53, Jonathan Wilkes a écrit :<br>
>>>><br>
>>>>> Used can2svg from Mats Bengtsson and got a nice result. You can open it in a browser, zoom it, select text. It's about 3x larger than pd file. Probably wouldn't be too difficult to parse and turn most of the pddplinks into real links.<br>
>>>>><br>
>>>>> What happened to pdpedia? If it's still around maybe I can script this to do all the pd-ext help files and make a nice online resource. It'd probably be more powerful to parse pd files directly to svg but that's a bigger project.<br>
>>>>><br>
>>>>><br>
>>>>> -Jonathan<br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> ----- Original Message -----<br>
>>>>>> From: Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>><br>
>>>>>> To: PD List <<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>><br>
>>>>>> Cc:<br>
>>>>>> Sent: Friday, May 3, 2013 1:40 PM<br>
>>>>>> Subject: [PD] pd -> svg<br>
>>>>>><br>
>>>>>> A few points:<br>
>>>>>><br>
>>>>>> * you can open svg in a browser<br>
>>>>>> * you can _zoom_ svg in a browser for decent results (it's a vector drawing)<br>
>>>>>> * in safari you can select text in an svg (but not Firefox because of a bug,<br>
>>>>>> although you can stil <ctrl-c> it)<br>
>>>>>> * much (but not all) of tk canvas has corresponding drawing instructions in<br>
>>>>>> svg. unless i'm missing something the subset of tk canvas commands used by<br>
>>>>>> Pd all have corresponding instructions in svg<br>
>>>>>><br>
>>>>>> Here's what I want to do (in Debian Wheezy):<br>
>>>>>> 1) Open pd-extended<br>
>>>>>> 2) Create new patch<br>
>>>>>> 3) Create [f]<br>
>>>>>> 4) Right click to open up float-help.pd (PDDP revised version)<br>
>>>>>> 5) Click print and save to <a href="http://test.ps" target="_blank">test.ps</a><br>
>>>>>> 6) in cli type:<br>
>>>>>> pstoedit -f plot-svg <a href="http://test.ps" target="_blank">test.ps</a> test.svg<br>
>>>>>><br>
>>>>>> But I get this error:<br>
>>>>>><br>
>>>>>> **** Warning: glyf overlaps cmap, truncating.<br>
>>>>>><br>
>>>>>> Anyone know what this means? It ends up cropping the top and bottom of the<br>
>>>>>> patch. Google search for the error doesn't help much.<br>
>>>>>><br>
>>>>>> In the future it'd probably be better to parse a *.pd file directly to<br>
>>>>>> convert to svg, but if I can convert a ps to svg like this I think I can script<br>
>>>>>> it and get some nice looking online searchable documentation with very little<br>
>>>>>> work. :)<br>
>>>>>><br>
>>>>>> -Jonathan<br>
>>>>>><br>
>>>>>><br>
>>>>>> _______________________________________________<br>
>>>>>> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
>>>>>> UNSUBSCRIBE and account-management -><br>
>>>>>> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
>>>>> <float-help.svg>_______________________________________________<br>
>>>>> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
>>>>> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
>>>><br>
>>>><br>
>>>>_______________________________________________<br>
>>>><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
>>>>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
>>>><br>
>>>><br>
>>><br>
>>>_______________________________________________<br>
>>><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
>>>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
>>><br>
>>><br>
>>><br>
>><br>
><br>
>_______________________________________________<br>
><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
><br>
><br>
</div></div></blockquote></div><br></div>