[PD] Helvetica Font in Debian 9.5 - Location?

oliver oliver at klingt.org
Wed Sep 30 00:32:29 CEST 2020


Alexandre Torres Porres wrote:
> oh, and the workaround so far is that you can set a label without spaces 
> via a message to access the properties windows back in the meantime ;)

Another workaround to consider is to replace a normal space with a 
non-breaking space (ASCII 160)

as a matter of fact there are several characters that are problematic 
for Tcl/Tk related objects (such as all vanilla GUI objects but also 
externals like "menubutton" etc.) and will produce an error message when 
you save/reopen a patch or try to edit it's properties.

as a personal "helper" i made myself a "TCL/TK save" patch to throw in 
before creating a label for a GUI, that exchanges all of those 
problematic characters with save ones. (see attachemnt).

of course this is only good for optical usecases (as it actually would 
also alter filenames etc.). it's really just a workaround and doesn't 
solve the underlying problem with Tcl/Tk

best

oliver
-------------- next part --------------
#N canvas 122 85 665 595 10;
#X obj 30 35 inlet;
#X obj 407 529 outlet;
#X obj 24 35 cnv 5 5 17 empty empty empty 20 12 0 14 -118750 -66577
0;
#X obj 401 529 cnv 5 5 17 empty empty empty 20 12 0 14 -102336 -66577
0;
#X obj 30 146 list;
#X obj 30 290 list store, f 13;
#X obj 30 195 until;
#X obj 30 221 f, f 7;
#X obj 92 221 + 1;
#X msg 30 264 get \$1 1;
#X obj 73 196 0;
#X obj 30 366 list fromsymbol;
#X obj 30 318 route symbol float;
#X obj 48 342 makefilename %s;
#X obj 30 243 t f f;
#X obj 30 503 list store, f 19;
#X obj 30 478 list trim;
#X obj 30 455 list prepend append;
#X obj 96 389 spigot;
#X obj 30 389 t l b, f 9;
#X obj 30 170 t b b a b, f 19;
#X obj 187 268 list store, f 14;
#X obj 187 196 until;
#X obj 187 220 f;
#X obj 228 220 + 1;
#X msg 187 245 get \$1 1;
#X msg 228 196 0;
#X text 219 150 list drip;
#X obj 407 464 list store, f 13;
#X obj 407 443 list trim;
#X obj 187 170 t b b l b, f 20;
#X symbolatom 505 18 10 0 0 0 - - -;
#X obj 505 32 list fromsymbol;
#X floatatom 505 49 5 0 0 0 - - -;
#X text 190 24 some characters are not allowed by PD \, some produce
a Tcl/Tk error., f 38;
#X text 455 297 36 (dollar);
#X text 191 84 91 (open bracket);
#X text 192 104 93 (close bracket);
#X text 192 114 123 (open brace);
#X text 192 124 125 (close brace);
#X msg 96 421 160;
#X text 130 413 non-breaking space, f 9;
#X text 324 65 replacement:;
#X text 192 66 original:;
#X obj 407 421 list prepend append;
#X msg 271 321 171;
#X msg 301 321 187;
#X msg 241 321 23;
#X text 545 298 35 (diamond);
#X text 455 269 34 (quote);
#X text 206 378 166 (dotted straight line);
#X text 325 84 25;
#X text 325 104 23;
#X text 325 124 187 (>>);
#X text 326 114 171 (<<);
#X text 455 283 35 (diamond);
#X text 545 283 164;
#X obj 407 488 list tosymbol;
#X obj 362 293 spigot 1;
#X obj 407 330 spigot;
#X obj 407 266 == 0;
#X obj 407 240 t f f, f 6;
#X text 455 208 0 = for symbols or internal useage), f 19;
#X obj 407 353 select 34 35 36;
#X msg 467 377 35;
#X msg 437 377 164;
#X msg 407 377 168;
#X text 456 241 1 = for canvas labels, f 25;
#X text 545 269 168;
#X msg 407 215 1;
#X msg 330 321 160;
#X text 355 322 !!!;
#X obj 407 188 loadbang;
#X msg 214 321 25;
#X msg 185 321 166;
#X text 188 347 |;
#X text 188 340 |;
#X obj 187 293 select -92 91 93 123 125 32;
#X text 182 364 was:92 (backslash);
#X text 20 6 anything in;
#X text 456 523 symbol with Tcl/Tk save characters out, f 20;
#X text 183 453 but since PD 0.51 backslashes are possible \, so no
need to escape them anymore, f 30;
#X connect 0 0 4 0;
#X connect 4 0 20 0;
#X connect 5 0 12 0;
#X connect 5 1 6 1;
#X connect 5 1 15 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 7 0 14 0;
#X connect 8 0 7 1;
#X connect 9 0 5 0;
#X connect 10 0 7 1;
#X connect 11 0 19 0;
#X connect 12 0 11 0;
#X connect 12 1 13 0;
#X connect 13 0 11 0;
#X connect 14 0 9 0;
#X connect 14 1 18 1;
#X connect 15 0 30 0;
#X connect 16 0 15 0;
#X connect 17 0 16 0;
#X connect 18 0 40 0;
#X connect 19 0 17 0;
#X connect 19 1 18 0;
#X connect 20 0 6 0;
#X connect 20 1 10 0;
#X connect 20 2 5 1;
#X connect 20 3 15 1;
#X connect 21 0 77 0;
#X connect 21 1 22 1;
#X connect 21 1 28 0;
#X connect 22 0 23 0;
#X connect 23 0 24 0;
#X connect 23 0 25 0;
#X connect 24 0 23 1;
#X connect 25 0 21 0;
#X connect 26 0 23 1;
#X connect 28 0 57 0;
#X connect 29 0 28 0;
#X connect 30 0 22 0;
#X connect 30 1 26 0;
#X connect 30 2 21 1;
#X connect 30 3 28 1;
#X connect 31 0 32 0;
#X connect 32 0 33 0;
#X connect 40 0 17 0;
#X connect 44 0 29 0;
#X connect 45 0 44 0;
#X connect 46 0 44 0;
#X connect 47 0 44 0;
#X connect 57 0 1 0;
#X connect 58 0 44 0;
#X connect 59 0 63 0;
#X connect 60 0 58 1;
#X connect 61 0 60 0;
#X connect 61 1 59 1;
#X connect 63 0 66 0;
#X connect 63 1 65 0;
#X connect 63 2 64 0;
#X connect 63 3 44 0;
#X connect 64 0 44 0;
#X connect 65 0 44 0;
#X connect 66 0 44 0;
#X connect 69 0 61 0;
#X connect 70 0 44 0;
#X connect 72 0 69 0;
#X connect 73 0 44 0;
#X connect 77 0 74 0;
#X connect 77 1 73 0;
#X connect 77 2 47 0;
#X connect 77 3 45 0;
#X connect 77 4 46 0;
#X connect 77 5 70 0;
#X connect 77 6 58 0;
#X connect 77 6 59 0;


More information about the Pd-list mailing list