Releases: britzl/defold-richtext
Defold RichText 5.1.0
NEW: Added <nobr>
tag to let words overflow on a line without breaking
Defold RichText 5.0.0
BREAKING CHANGE: The truncate() function updates the metrics of a node
CHANGE: truncate() returns the last visible word
Defold RichText 4.0.0
BREAKING CHANGE: All nodes now have inherit alpha set to true (requires Defold 1.2.124)
Defold RichText 3.1.1
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
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
NEW: Added support for assigning layers to generated nodes to reduce draw calls.
Defold RichText 2.7.0
NEW: Added support for <spine=scene:anim\>
tags
Defold RichText 2.6.0
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
FIX: Text metrics for words with trailing space were wrong
FIX: Line height was wrong after a line break
Defold RichText 2.5.2
FIX: Make sure to properly handle \r\n (throw away all \r's)