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

Jack jack at rybn.org
Sat May 5 00:38:05 CEST 2012


Le 04/05/2012 17:59, Jonathan Wilkes a écrit :
> ----- 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.

With 10 instead of 13 in the message box, it looks fine under ubuntu and
pd vanilla.
++

Jack


>
> -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
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20120505/34ccff1e/attachment-0001.htm>


More information about the Pd-list mailing list