On 1/28/26 11:50, Peter P. wrote:
Hi Cyrille,

wow-that's impressive! Merci a lot for your patch and the insight!

Does this mean that text2d understands fudi? I can't see any conversion
back from fudi.

it doesn't understand FUDI.
however, you can send it a list of unicode-points via the "string" message, e.g. [string 112 56 116 101 114(

if it encounters a linefeed (ascii: 10), it will break the line:
[string 108 228 116 101 114 10 112 56 116 101 114(

you can also use the normal [text( (or [list() messsage and add a "\n" manually (e.g. generated with [makefilename %c]).

like in the attached patch.

gdasmr
IOhannes
--
please do not CC me for list-emails

#N canvas 863 164 630 569 12;
#X declare -lib Gem;
#X obj 37 69 gemhead;
#X obj 200 178 textfile;
#X obj 37 256 text2d;
#X obj 229 13 declare -lib Gem;
#X msg 118 23 create \, 1;
#X obj 118 50 gemwin;
#X obj 200 294 list prepend append;
#X obj 200 353 list store, f 38;
#X obj 200 324 list trim;
#X obj 200 250 list append;
#X obj 286 250 makefilename %c;
#X obj 286 201 loadbang;
#X msg 286 225 10;
#X msg 172 93 symbol multiline.txt;
#X msg 200 146 read \$1 cr \, rewind \, bang \, bang;
#X obj 172 118 t b s b, f 42;
#X text 397 249 append LF;
#X obj 200 378 t l l;
#X obj 200 403 list split;
#X obj 294 381 list length;
#X obj 294 406 - 1;
#X text 389 402 strip the trailing LF;
#X connect 0 0 2 0;
#X connect 1 0 9 0;
#X connect 4 0 5 0;
#X connect 6 0 8 0;
#X connect 7 0 17 0;
#X connect 8 0 7 0;
#X connect 9 0 6 0;
#X connect 10 0 9 1;
#X connect 11 0 12 0;
#X connect 12 0 10 0;
#X connect 13 0 15 0;
#X connect 14 0 1 0;
#X connect 15 0 7 0;
#X connect 15 1 14 0;
#X connect 15 2 7 1;
#X connect 17 0 18 0;
#X connect 17 1 19 0;
#X connect 18 0 2 0;
#X connect 19 0 20 0;
#X connect 20 0 18 1;

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/IKFNT32X3DAILU2EYGJNTW6FNQJOYSW3/

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

Reply via email to