I've confused a bit the first trick, renaming a proc could be necessary for procedures coded from pd messages, not the ones loaded from a tcl files. Also, introcing tcl classes could help for not having duplicated proc names.
It would be nice to know if sys_gui is ok on Raspberry Pi in the case I'd use it on some project :D.
[sys_gui] can replace a large bunch of external objects (zexy, toxy, cyclone, moocow, ...), but a bit slower, and sometimes would require the need to use [makefilename %c] for curved braces, but in most cases tcl's [list ...] can do it. The new text object allows to store easily tcl code inside a patch or datastructure, I've found this usefull for storing image data... Including it into pd-core would make it very efficient for application designing, there still would be the need for [get_dir] in file processing though.
Colet Patrice
----- Mail original -----
De: "Jack" jack@rybn.org À: "Patrice Colet" colet.patrice@free.fr, pd-list@iem.at Envoyé: Lundi 23 Septembre 2013 11:03:16 Objet: Re: [PD] Gridflow and fonts on Raspberry Pi
Le 23/09/2013 02:27, Patrice Colet a écrit :
I've collected some tricks since I'm using sys_gui, attached are the ones you might need to build and communicate with your interface through pd, if sys_gui is ok on raspberry, all the tcl and tk code is fully documented online...
Tested on Pd 0.45.0
Colet Patrice
----- Mail original -----
De: "Colet Patrice" colet.patrice@free.fr À: "Jack" jack@rybn.org, pd-list@iem.at Envoyé: Dimanche 22 Septembre 2013 21:29:24 Objet: Re: [PD] Gridflow and fonts on Raspberry Pi
Hello jack,
I don't know about raspberry, but it seems tcltk is used for te GUI, so what about using [sys_gui] for generating the interface?
a toplevel -fullscreen should be able to do what you are looking for, it's also possible to create fonts
Le 22/09/2013 19:10, Jack a écrit :
Hello,
I found gridflow for Raspberry Pi here : http://artengine.ca/acastonguay/gridflow/ And see a message from Claude here about Gridflow font : http://lists.puredata.info/pipermail/pd-list/2006-01/034431.html
My questions : I would like to use Raspberry Pi and Pd to render text on a screen. I guess Gridflow could be the right library to use if it can manage fonts and if it is stable on RPi ? Is there an other library (or idea) for this purpose ? For example : a pd window in fullscreen with a canvas with text ? In this case, how to achieve that (fullscreen without menubar and window title bar with pd).
I am on raspbian : PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)" NAME="Raspbian GNU/Linux" VERSION_ID="7" VERSION="7 (wheezy)" Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux with Pd-0.45.2 ("") compiled 16:14:18 Sep 17 2013. Thanx for any help. ++
Jack
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello Patrice,
Very nice ! Ijust test your patch with Pd-0.45.0 ("test 2") on Ubuntu 13.04 and it is working perfectly. Thanx a lot, I will test soon on Raspberry Pi. ++
Jack