On 1/28/26 14:36, Benjamin Wesch wrote:
On Wed, Jan 28, 2026 at 12:10 PM IOhannes m zmoelnig via Pd-list
<[email protected]> wrote:
like in the attached patch.

this is really cool - thanks for the contributions and inspiration,
cyrille and iohannes!
with left-aligned text, i saw that the lists with additional line
break characters result in a leading whitespace on the left.

yes.
that's because we are actually adding a *word* with the content "\n" - and the word is surrounded by whitespace.

basically, my advice is to use the [string( message with unicode points:
- use [file] to read the raw UTF-8 bytes
- use [unicode/utf82codenumber] to convert the UTF-8 bytes into unicode-points
- prefix [string(

this also allows you to render text with multiple consecutive whitespace characters (" " vs " ").
note that the TAB character usually does not render as whitespace.

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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

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

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

Reply via email to