Hi,

this topic seems to come up frequently [1] 
and I am looking for a vanilla solution of rendering multiline text from
a textfile in Gem's [text2d] object.

I can output multiple lines but text2d expects all text to be prefixed
with either "text" or as list. Both seem unable to pass on linefeeds
correctly, at least in my minimal working example (attached).

Anything I can try next?
Thanks for all your ideas!
best, Peter


[1] 
https://lists.iem.at/hyperkitty/list/[email protected]/thread/XUS657GKDCQE3GUDIGZYA5U46K5365UL/
#N canvas 1025 435 450 300 12;
#X declare -lib Gem;
#X obj 37 69 gemhead;
#X obj 196 177 textfile;
#X obj 37 256 text2d;
#X obj 120 205 list;
#X obj 229 13 declare -lib Gem;
#X msg 195 53 create \, 1;
#X obj 195 80 gemwin;
#X msg 196 147 read multiline.txt cr \, rewind \, bang \, bang;
#X obj 196 205 print fromTextfile;
#X connect 0 0 2 0;
#X connect 1 0 3 0;
#X connect 1 0 8 0;
#X connect 3 0 2 0;
#X connect 5 0 6 0;
#X connect 7 0 1 0;
I am a line;
and I am another one
---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/2YHOGTFYK2TRDMJPR6PPRKEVQFWS7K5Y/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

Reply via email to