[PD] Multiline text using [text2d]/[text3d]

Jonathan Wilkes jancsika at yahoo.com
Fri May 4 17:59:04 CEST 2012


----- Original Message -----

> From: IOhannes m zmölnig <zmoelnig at iem.at>
> To: pd-list at iem.at
> Cc: 
> Sent: Friday, May 4, 2012 11:04 AM
> Subject: Re: [PD] Multiline text using [text2d]/[text3d]
> 
> On 05/04/2012 02:42 PM, Husk 00 wrote:
>>  On Fri, May 4, 2012 at 2:18 PM, Antonio Roberts
>>  <antonio at hellocatfood.com <mailto:antonio at hellocatfood.com>> 
> wrote:
>> 
>>      Is it possible to display multiple lines of text using one instance of
>>      [text2d]/[text3d]?
>> 
>>  To do that I usually convert text into ascii strings and pass the list
>>  to text3d prepend string message.
>>  I don't know if there are others methods.
> 
> if you manage to create a symbol with a CR (or LF?, or CRLF?), then the 
> [text*] objects will linebreak there as well.

Here's quick-and-dirty, Pd-Vanilla-compatible (attached).

Oddly it displays differently in the console on Pd-l2ork, but it looks fine in Pd-ext nightly.

-Jonathan

> but it might be easiser to use [string(
> 
> fgmasdr
> IOhannes
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cr.pd
Type: application/octet-stream
Size: 928 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120504/db9dbb1c/attachment-0001.obj>


More information about the Pd-list mailing list