WordWrap

Feature requests for future versions of Hollywood can be voiced here
Post Reply
Flinx
Posts: 188
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

WordWrap

Post by Flinx »

Hello,

I would find it helpful if the WordWrap option of the text output functions would generate a wrap not only for spaces, but also for the Unicode characters zero width space (U+200B) and soft hyphen (U+00AD).

Ralf
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: WordWrap

Post by airsoftsoftwair »

Sounds reasonable. Should be possible to implement this.
Flinx
Posts: 188
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Re: WordWrap

Post by Flinx »

Thanks.
I forgot to specify that for a soft hyphen a hyphen should be inserted.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: WordWrap

Post by airsoftsoftwair »

Code: Select all

- New: Hollywood's text renderer also supports zero-width spaces and soft hyphens now; note that those
  characters will only work when drawing text in UTF-8 because both characters, zero-width space and the
  soft hyphen character, are Unicode characters
Post Reply