defold-richtext icon indicating copy to clipboard operation
defold-richtext copied to clipboard

Defold-RichText is a system to create styled text based on an HTML inspired markup language

Results 8 defold-richtext issues
Sort by recently updated
recently updated
newest added

I'm trying to color a part of existing text, but the library creates unnecessary spaces between nodes of different colors. `Hello Mickey,` - >`He llo Mickey ,` `Georg,` -> `Georg...

bug

```Some are born great, some achieve greatness, and some have greatness thrust upon them.``` This text for example causes a line break. ![x](https://user-images.githubusercontent.com/409170/174687849-07a64edf-ea08-4af5-ad41-bf7f065a76d4.png) I feel like this shouldn't happen because...

bug

I just want to request the equivalent of the remove function to work with richtext.characters. Though adapting richtext.remove to work with characters would work as well.

enhancement

Sometimes users may want to have emoticons in text and have them scale to be a part of a line to fit and not scale up the next line. There...

enhancement

```\u{2707}``` is the Lua way but maybe RichText can have a prettier way?

enhancement
more info

currently, there's no way to do this builtin, and it would be incredibly useful. The metrics returned by richtext.create() don't seem to include the width, so doing it after the...

enhancement

Use utf8.reverse() on the text before using it. Use either a config value `dir=rtl|ltr` or a new `` tag

enhancement

The JUSTIFY alignment does not behave correctly: ![image](https://github.com/user-attachments/assets/1900b4b9-3670-4355-ad7a-f3dae27c9dc9) The important problem is the so-called ‘dangling strings’. In the current implementation, they are aligned, although according to classical JUSTIFY rules they...