Skip to content

Releases: britzl/defold-richtext

Defold RichText 5.1.0

11 Apr 20:28
Compare
Choose a tag to compare

NEW: Added <nobr> tag to let words overflow on a line without breaking

Defold RichText 5.0.0

11 Apr 09:19
Compare
Choose a tag to compare

BREAKING CHANGE: The truncate() function updates the metrics of a node
CHANGE: truncate() returns the last visible word

Defold RichText 4.0.0

27 Mar 10:59
Compare
Choose a tag to compare

BREAKING CHANGE: All nodes now have inherit alpha set to true (requires Defold 1.2.124)

Defold RichText 3.1.1

19 Mar 09:20
Compare
Choose a tag to compare

NEW: Tag parameters are now accessible per word:

<foo=bar>Defold</foo>

print(word.text, word.tags.foo) -- Defold  bar

Defold RichText 3.0.0

08 Mar 07:15
Compare
Choose a tag to compare

NEW: Added support for a new setting image_pixel_grid_snap to snap images to full pixels to avoid certain anti-aliasing effects
CHANGE: Images are now affected by <size> tags

Defold RichText 2.8.0

05 Mar 10:30
Compare
Choose a tag to compare

NEW: Added support for assigning layers to generated nodes to reduce draw calls.

Defold RichText 2.7.0

05 Mar 09:41
Compare
Choose a tag to compare

NEW: Added support for <spine=scene:anim\> tags

Defold RichText 2.6.0

05 Mar 08:23
Compare
Choose a tag to compare

NEW: Added line_spacing option to richtext.create() settings. This is a scaling value for line height. Set to 1.0 for default spacing. Less than 1.0 to decrease and more than 1.0 to increase spacing.

Defold RichText 2.5.3

05 Mar 08:10
Compare
Choose a tag to compare

FIX: Text metrics for words with trailing space were wrong
FIX: Line height was wrong after a line break

Defold RichText 2.5.2

02 Mar 20:50
Compare
Choose a tag to compare

FIX: Make sure to properly handle \r\n (throw away all \r's)