Skip to content

Releases: britzl/defold-richtext

Defold RichText 2.5.1

02 Mar 16:20
Compare
Choose a tag to compare

FIX: <img> tags were broken

Defold RichText 2.5.0

02 Mar 13:56
Compare
Choose a tag to compare

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

01 Mar 23:04
Compare
Choose a tag to compare

FIX: Typo caused bug while parsing rich text

Defold RichText 2.4.0

01 Mar 22:32
Compare
Choose a tag to compare

NEW: richtext.truncate(words, length)
NEW: richtext.length(text)

Defold RichText 2.3.0

01 Mar 10:44
Compare
Choose a tag to compare
Defold RichText 2.3.0 Pre-release
Pre-release

NEW: Added support for align setting with accepted values richtext.ALIGN_LEFT, richtext.ALIGN_CENTER and richtext.ALIGN_RIGHT

Defold RichText 2.2.0

28 Feb 13:16
Compare
Choose a tag to compare
Defold RichText 2.2.0 Pre-release
Pre-release

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

28 Feb 09:23
Compare
Choose a tag to compare
Defold RichText 2.1.0 Pre-release
Pre-release

NEW: Support for inline images using the <img=texture:image></img> tag

Defold RichText 2.0.1

28 Feb 08:11
Compare
Choose a tag to compare
Defold RichText 2.0.1 Pre-release
Pre-release

FIX: Solved issue with text metrics width measurement under certain conditions

Defold RichText 2.0.0

27 Feb 12:42
Compare
Choose a tag to compare
Defold RichText 2.0.0 Pre-release
Pre-release

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

27 Feb 07:50
Compare
Choose a tag to compare
Defold RichText 1.4.0 Pre-release
Pre-release

NEW: richtext.create() now returns a metrics table with width and height as second return value
FIX: Added documentation for default text color