Releases: britzl/defold-richtext
Defold RichText 2.5.1
FIX: <img>
tags were broken
Defold RichText 2.5.0
NEW: Added support for splitting a word into it's individual characters. Useful when creating character effects on specific words.
FIX: Parsing of nested tags could result in empty "words"
Defold RichText 2.4.1
FIX: Typo caused bug while parsing rich text
Defold RichText 2.4.0
NEW: richtext.truncate(words, length)
NEW: richtext.length(text)
Defold RichText 2.3.0
NEW: Added support for align
setting with accepted values richtext.ALIGN_LEFT
, richtext.ALIGN_CENTER
and richtext.ALIGN_RIGHT
Defold RichText 2.2.0
NEW: Added support for linebreak tag
(although normal linebreaks are still supported)
CHANGE: Image tags can now be empty: <img=texture:image/>
Defold RichText 2.1.0
NEW: Support for inline images using the <img=texture:image></img>
tag
Defold RichText 2.0.1
FIX: Solved issue with text metrics width measurement under certain conditions
Defold RichText 2.0.0
CHANGE: richtext.create()
now returns words
and metrics
instead of nodes
and metrics
NEW: Use richtext.tagged(words, tag)
to get a list of all words matching a specific tag
Defold RichText 1.4.0
NEW: richtext.create() now returns a metrics table with width and height as second return value
FIX: Added documentation for default text color