Re: [PD] pd - svg

2013-05-06 Thread s p
And what about the console? Any error there?


2013/5/6 Jonathan Wilkes jancs...@yahoo.com

 
  From: s p seb...@gmail.com
 To:
 Cc: PD List pd-list@iem.at
 Sent: Sunday, May 5, 2013 5:05 PM
 Subject: Re: [PD] pd - svg
 
 
 
 i.e. is kind of out of my radar ... but for sure I should test with it
 some day.
 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?


 I get two horizontal dividers and the text Loading...


 -Jonathan


 
 
 
 2013/5/5 Jonathan Wilkes jancs...@yahoo.com
 
 
  From: s p seb...@gmail.com
 To:
 Cc: PD List pd-list@iem.at
 Sent: Sunday, May 5, 2013 10:39 AM
 Subject: Re: [PD] pd - svg
 
 
 
 
 Also, I put this library together a little while ago, as a part of
 WebPd :
 
 
 https://github.com/sebpiq/pd-fileutils
 
 
 
 It should work out of the box, converting pd patch to SVG
 
 Thanks.
 
 The demo below fails to load properly on Firefox and IE (whatever
 version on windows 7)
 
 http://sebpiq.github.io/pd-fileutils/?gist=5054711
 
 
 
 
 
 
 2013/5/5 philippe boisnard philem...@mac.com
 
 Hi
 
 an example to create html/svg from pd
 
 
 
 
 cheers
 
 p
 Le 5 mai 2013 à 10:53, Jonathan Wilkes a écrit :
 
  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.
 
  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.
 
 
  -Jonathan
 
 
 
  - Original Message -
  From: Jonathan Wilkes jancs...@yahoo.com
  To: PD List pd-list@iem.at
  Cc:
  Sent: Friday, May 3, 2013 1:40 PM
  Subject: [PD] pd - svg
 
  A few points:
 
  * you can open svg in a browser
  * you can _zoom_ svg in a browser for decent results (it's a vector
 drawing)
  * in safari you can select text in an svg (but not Firefox because
 of a bug,
  although you can stil ctrl-c it)
  * much (but not all) of tk canvas has corresponding drawing
 instructions in
  svg.  unless i'm missing something the subset of tk canvas commands
 used by
  Pd all have corresponding instructions in svg
 
  Here's what I want to do (in Debian Wheezy):
  1) Open pd-extended
  2) Create new patch
  3) Create [f]
  4) Right click to open up float-help.pd (PDDP revised version)
  5) Click print and save to test.ps
  6) in cli type:
  pstoedit -f plot-svg test.ps test.svg
 
  But I get this error:
 
   Warning: glyf overlaps cmap, truncating.
 
  Anyone know what this means?  It ends up cropping the top and
 bottom of the
  patch.  Google search for the error doesn't help much.
 
  In the future it'd probably be better to parse a *.pd file directly
 to
  convert to svg, but if I can convert a ps to svg like this I think
 I can script
  it and get some nice looking online searchable documentation with
 very little
  work. :)
 
  -Jonathan
 
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
  float-help.svg___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 
 
 

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd - svg

2013-05-06 Thread Jonathan Wilkes



 From: s p seb...@gmail.com
To: 
Cc: PD List pd-list@iem.at 
Sent: Monday, May 6, 2013 2:26 PM
Subject: Re: [PD] pd - svg
 


And what about the console? Any error there?


Here's the output:

[16:58:31.356] GET http://sebpiq.github.io/pd-fileutils/?gist=5054711 [HTTP/1.1 
304 Not Modified 148ms]
[16:58:31.806] GET 
http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js [HTTP/1.1 304 
Not Modified 81ms]
[16:58:31.808] GET http://underscorejs.org/underscore-min.js [HTTP/1.1 304 Not 
Modified 186ms]
[16:58:31.810] GET http://d3js.org/d3.v3.min.js [HTTP/1.1 304 Not Modified 
173ms]
[16:58:31.811] GET 
https://raw.github.com/sebpiq/pd-fileutils/master/dist/pd-fileutils-latest.js 
[HTTP/1.1 200 OK 335ms]
[16:58:31.812] GET http://sebpiq.github.io/pd-fileutils/css/code-highlight.css 
[HTTP/1.1 304 Not Modified 74ms]
[16:58:31.813] GET 
https://raw.github.com/ccampbell/rainbow/master/js/rainbow.min.js [HTTP/1.1 200 
OK 542ms]
[16:58:31.815] GET 
https://raw.github.com/ccampbell/rainbow/master/js/language/generic.js 
[HTTP/1.1 200 OK 548ms]
[16:58:31.816] GET 
https://raw.github.com/ccampbell/rainbow/master/js/language/javascript.js 
[HTTP/1.1 200 OK 298ms]
[16:58:31.933] Unknown property '-moz-border-radius'.  Declaration dropped. @ 
http://sebpiq.github.io/pd-fileutils/css/code-highlight.css:26
[16:58:31.933] Unknown property '-moz-border-radius'.  Declaration dropped. @ 
http://sebpiq.github.io/pd-fileutils/css/code-highlight.css:35
[16:58:32.182] Use of getAttributeNode() is deprecated. Use getAttribute() 
instead. @ http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js:4
[16:58:32.189] TypeError: resp is undefined @ 
http://sebpiq.github.io/pd-fileutils/?gist=5054711:33
[16:58:32.261] GET 
https://api.github.com/gists/5054711?callback=gistLoaded_=1367873911969 
[HTTP/1.1 200 OK 437ms]
[16:58:32.591] GET 
https://raw.github.com/ccampbell/rainbow/master/js/language/generic.js 
[HTTP/1.1 200 OK 69ms]
[16:58:32.682] GET 
https://raw.github.com/ccampbell/rainbow/master/js/language/javascript.js 
[HTTP/1.1 200 OK 69ms]
[16:58:32.728] The character encoding of the HTML document was not declared. 
The document will render with garbled text in some browser configurations if 
the document contains characters from outside the US-ASCII range. The character 
encoding of the page must be declared in the document or in the transfer 
protocol. @ http://sebpiq.github.io/pd-fileutils/?gist=5054711
[16:58:32.741] Unknown property 'box-sizing'.  Declaration dropped. @ 
http://sebpiq.github.io/pd-fileutils/?gist=5054711
[16:58:32.752] ReferenceError: pdfu is not defined @ 
http://sebpiq.github.io/pd-fileutils/?gist=5054711:35
[16:58:32.816] GET http://www.google-analytics.com/ga.js [HTTP/1.1 304 Not 
Modified 48ms]
[16:58:32.936] GET
 
http://www.google-analytics.com/__utm.gif?utmwv=5.4.1utms=2utmn=1841278778utmhn=sebpiq.github.ioutmcs=windows-1252utmsr=1366x768utmvp=1366x324utmsc=24-bitutmul=en-usutmje=0utmfl=10.1%20r999.%3Cbr%3EGnash%200.8.11dev%2C%20the%20GNU%20SWF%20Player.%20%20%20Copyright%20(C)%202006%2C%202007%2C%202008%2C%202009%2C%202010%2C%202011%20%20%20%3Ca%20href%3D%22http%3A%2F%2Fwww.fsf.org%22%3EFree%20%20%20Software%20Foundation%3C%2Fa%3E%2C%20Inc.%20%3Cbr%3E%20%20%20Gnash%20comes%20with%20NO%20WARRANTY%2C%20to%20the%20extent%20permitted%20by%20law.%20%20%20You%20may%20redistribute%20copies%20of%20Gnash%20under%20the%20terms%20of%20the%20%20%20%3Ca%20href%3D%22http%3A%2F%2Fwww.gnu.org%2Flicenses%2Fgpl.html%22%3EGNU%20General%20Public%20%20%20License%3C%2Fa%3E.%20For%20more%20information%20about%20Gnash%2C%20see%20%3Ca%20%20%20href%3D%22http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgnash%2F%22%3E%20%20%20http%3A%2F%2Fwww.gnu.org%2Fsoftware%2Fgnash%3C%2Fa%3E.%20%20%2
0%3Cbr%3E%20%20Compatible%20utmdt=Title%20of%20the%20documentutmhid=1042282053utmr=http%3A%2F%2Fus-mg6.mail.yahoo.com%2Fneo%2Flaunch%3F.rand%3D4045ngpabds70utmp=%2Fpd-fileutils%2F%3Fgist%3D5054711utmht=1367873912846utmac=UA-17637518-3utmcc=__utma%3D88284441.556814279.1367766157.1367813491.1367873821.3%3B%2B__utmz%3D88284441.1367873821.3.2.utmcsr%3Dus-mg6.mail.yahoo.com%7Cutmccn%3D(referral)%7Cutmcmd%3Dreferral%7Cutmcct%3D%2Fneo%2Flaunch%3Butmu=q~
 [HTTP/1.1 200 OK 76ms]


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd - svg

2013-05-05 Thread Jonathan Wilkes
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.

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.


-Jonathan



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


Re: [PD] pd - svg

2013-05-05 Thread s p
Also, I put this library together a little while ago, as a part of WebPd :

https://github.com/sebpiq/pd-fileutils

It should work out of the box, converting pd patch to SVG


2013/5/5 philippe boisnard philem...@mac.com

 Hi

 an example to create html/svg from pd




 cheers

 p
 Le 5 mai 2013 à 10:53, Jonathan Wilkes a écrit :

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


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd - svg

2013-05-05 Thread Jonathan Wilkes

 From: s p seb...@gmail.com
To: 
Cc: PD List pd-list@iem.at 
Sent: Sunday, May 5, 2013 10:39 AM
Subject: Re: [PD] pd - svg
 


Also, I put this library together a little while ago, as a part of WebPd : 


https://github.com/sebpiq/pd-fileutils



It should work out of the box, converting pd patch to SVG

Thanks.

The demo below fails to load properly on Firefox and IE (whatever version on 
windows 7)

http://sebpiq.github.io/pd-fileutils/?gist=5054711





2013/5/5 philippe boisnard philem...@mac.com

Hi

an example to create html/svg from pd




cheers

p
Le 5 mai 2013 à 10:53, Jonathan Wilkes a écrit :

 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.

 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.


 -Jonathan



 - Original Message -
 From: Jonathan Wilkes jancs...@yahoo.com
 To: PD List pd-list@iem.at
 Cc:
 Sent: Friday, May 3, 2013 1:40 PM
 Subject: [PD] pd - svg

 A few points:

 * you can open svg in a browser
 * you can _zoom_ svg in a browser for decent results (it's a vector 
 drawing)
 * in safari you can select text in an svg (but not Firefox because of a 
 bug,
 although you can stil ctrl-c it)
 * much (but not all) of tk canvas has corresponding drawing instructions in
 svg.  unless i'm missing something the subset of tk canvas commands used by
 Pd all have corresponding instructions in svg

 Here's what I want to do (in Debian Wheezy):
 1) Open pd-extended
 2) Create new patch
 3) Create [f]
 4) Right click to open up float-help.pd (PDDP revised version)
 5) Click print and save to test.ps
 6) in cli type:
 pstoedit -f plot-svg test.ps test.svg

 But I get this error:

  Warning: glyf overlaps cmap, truncating.

 Anyone know what this means?  It ends up cropping the top and bottom of the
 patch.  Google search for the error doesn't help much.

 In the future it'd probably be better to parse a *.pd file directly to
 convert to svg, but if I can convert a ps to svg like this I think I can 
 script
 it and get some nice looking online searchable documentation with very 
 little
 work. :)

 -Jonathan


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 float-help.svg___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd - svg

2013-05-05 Thread s p
i.e. is kind of out of my radar ... but for sure I should test with it some
day.
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?


2013/5/5 Jonathan Wilkes jancs...@yahoo.com

 
  From: s p seb...@gmail.com
 To:
 Cc: PD List pd-list@iem.at
 Sent: Sunday, May 5, 2013 10:39 AM
 Subject: Re: [PD] pd - svg
 
 
 
 Also, I put this library together a little while ago, as a part of WebPd
 :
 
 
 https://github.com/sebpiq/pd-fileutils
 
 
 
 It should work out of the box, converting pd patch to SVG

 Thanks.

 The demo below fails to load properly on Firefox and IE (whatever version
 on windows 7)

 http://sebpiq.github.io/pd-fileutils/?gist=5054711


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

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pd - svg

2013-05-05 Thread Jonathan Wilkes

 From: s p seb...@gmail.com
To: 
Cc: PD List pd-list@iem.at 
Sent: Sunday, May 5, 2013 5:05 PM
Subject: Re: [PD] pd - svg
 


i.e. is kind of out of my radar ... but for sure I should test with it some 
day.
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?


I get two horizontal dividers and the text Loading...


-Jonathan





2013/5/5 Jonathan Wilkes jancs...@yahoo.com


 From: s p seb...@gmail.com
To:
Cc: PD List pd-list@iem.at
Sent: Sunday, May 5, 2013 10:39 AM
Subject: Re: [PD] pd - svg




Also, I put this library together a little while ago, as a part of WebPd : 


https://github.com/sebpiq/pd-fileutils



It should work out of the box, converting pd patch to SVG

Thanks.

The demo below fails to load properly on Firefox and IE (whatever version on 
windows 7)

http://sebpiq.github.io/pd-fileutils/?gist=5054711






2013/5/5 philippe boisnard philem...@mac.com

Hi

an example to create html/svg from pd




cheers

p
Le 5 mai 2013 à 10:53, Jonathan Wilkes a écrit :

 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.

 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.


 -Jonathan



 - Original Message -
 From: Jonathan Wilkes jancs...@yahoo.com
 To: PD List pd-list@iem.at
 Cc:
 Sent: Friday, May 3, 2013 1:40 PM
 Subject: [PD] pd - svg

 A few points:

 * you can open svg in a browser
 * you can _zoom_ svg in a browser for decent results (it's a vector 
 drawing)
 * in safari you can select text in an svg (but not Firefox because of a 
 bug,
 although you can stil ctrl-c it)
 * much (but not all) of tk canvas has corresponding drawing instructions 
 in
 svg.  unless i'm missing something the subset of tk canvas commands used 
 by
 Pd all have corresponding instructions in svg

 Here's what I want to do (in Debian Wheezy):
 1) Open pd-extended
 2) Create new patch
 3) Create [f]
 4) Right click to open up float-help.pd (PDDP revised version)
 5) Click print and save to test.ps
 6) in cli type:
 pstoedit -f plot-svg test.ps test.svg

 But I get this error:

  Warning: glyf overlaps cmap, truncating.

 Anyone know what this means?  It ends up cropping the top and bottom of 
 the
 patch.  Google search for the error doesn't help much.

 In the future it'd probably be better to parse a *.pd file directly to
 convert to svg, but if I can convert a ps to svg like this I think I can 
 script
 it and get some nice looking online searchable documentation with very 
 little
 work. :)

 -Jonathan


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list
 float-help.svg___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] pd - svg

2013-05-03 Thread Jonathan Wilkes
A few points:

* you can open svg in a browser
* you can _zoom_ svg in a browser for decent results (it's a vector drawing)
* in safari you can select text in an svg (but not Firefox because of a bug, 
although you can stil ctrl-c it)
* much (but not all) of tk canvas has corresponding drawing instructions in 
svg.  unless i'm missing something the subset of tk canvas commands used by Pd 
all have corresponding instructions in svg

Here's what I want to do (in Debian Wheezy):
1) Open pd-extended
2) Create new patch
3) Create [f]
4) Right click to open up float-help.pd (PDDP revised version)
5) Click print and save to test.ps
6) in cli type:
pstoedit -f plot-svg test.ps test.svg

But I get this error:

 Warning: glyf overlaps cmap, truncating.

Anyone know what this means?  It ends up cropping the top and bottom of the 
patch.  Google search for the error doesn't help much.

In the future it'd probably be better to parse a *.pd file directly to convert 
to svg, but if I can convert a ps to svg like this I think I can script it and 
get some nice looking online searchable documentation with very little work. :)

-Jonathan


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list