Hallo again!
So, I think now it's working as it should, also with the BoundingBox, Right,Center, ... and all that stuff ... (attached)
Please IOhannes (or someone else) check the code+behaviour, if it is okay (I didn't used the text objects before - so I don't know what you want ...) I can put it in TextBase (and all the render functions of the other text objects ... ) so all the text objects could make use of it ...
An other question: Why is there a Render method in TextBase (with an FTGL notice) ? Shouldn't this method be abstract?
LG Georg
#N canvas 692 194 677 605 10; #X obj 380 450 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 0 450 300 gemwin 0; #X obj 67 89 outlet; #X obj 67 10 inlet; #X obj 67 41 route create; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create , 1; #X obj 132 136 gemwin; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 2 0 6 0; #X connect 2 1 4 0; #X connect 2 1 5 0; #X connect 3 0 0 0; #X connect 4 0 0 0; #X connect 5 0 7 0; #X connect 6 0 7 0; #X restore 385 489 pd gemwin; #X msg 385 470 destroy; #X text 381 449 Create window:; #X text 95 36 Example:; #X obj 103 57 gemhead; #X floatatom 140 276 5 0 100 1 size - -; #X msg 277 61 text hello world!; #X msg 125 186 1 2 3 4; #X msg 129 227 alias $1; #X obj 129 209 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 103 78 translateXYZ; #X floatatom 207 61 5 -10 10 0 - - -; #X floatatom 166 56 3 -3.5 3.5 0 - - -; #X obj 103 297 text2d; #X msg 130 128 font helmetr.ttf; #X obj 130 105 loadbang; #X msg 273 131 text an other text; #X msg 273 159 text llk daiuh adhiah asdohua hu; #X msg 275 184 text asdfghjklsdfgsdfg; #X msg 394 303 maxchar $1; #X floatatom 393 282 5 0 0 0 - - -; #X msg 273 91 text gestern wars wieder ganz lustig und wir haben einen Donaudampfschifffahrtskapitaen umgebracht!; #X msg 396 393 linedist $1; #X floatatom 396 375 5 0 0 0 - - -; #X msg 276 210 text; #X text 282 34 some text:; #X text 387 258 max chars in a line; #X text 482 286 (is this a good name?); #X text 392 334 line distance:; #X text 412 350 1 = 1 line , 0.5 = half line , ...; #X msg 214 388 base; #X msg 214 431 middle; #X msg 214 409 top; #X msg 138 531 justify $1 $2; #X msg 163 370 left; #X msg 163 393 center; #X msg 163 416 right; #X msg 163 438 base; #X msg 214 454 bottom; #X obj 163 460 symbol; #X obj 214 475 symbol; #X obj 163 508 pack s s; #X obj 171 485 t b s; #X connect 1 0 2 0; #X connect 2 0 1 0; #X connect 5 0 11 0; #X connect 6 0 14 1; #X connect 7 0 14 0; #X connect 8 0 14 0; #X connect 9 0 14 0; #X connect 10 0 9 0; #X connect 11 0 14 0; #X connect 12 0 11 3; #X connect 13 0 11 1; #X connect 15 0 14 0; #X connect 16 0 15 0; #X connect 17 0 14 0; #X connect 18 0 14 0; #X connect 19 0 14 0; #X connect 20 0 14 0; #X connect 21 0 20 0; #X connect 22 0 14 0; #X connect 23 0 14 0; #X connect 24 0 23 0; #X connect 25 0 14 0; #X connect 31 0 41 0; #X connect 32 0 41 0; #X connect 33 0 41 0; #X connect 34 0 14 0; #X connect 35 0 40 0; #X connect 36 0 40 0; #X connect 37 0 40 0; #X connect 38 0 40 0; #X connect 39 0 41 0; #X connect 40 0 42 0; #X connect 41 0 43 0; #X connect 42 0 34 0; #X connect 43 0 42 0; #X connect 43 1 42 1;