Releases: britzl/defold-richtext
Defold RichText 5.21.2
Defold RichText 5.21.1
FIX: Fonts were not applied properly in custom tags. Thanks @abadonna
Defold RichText 5.21.0
NEW: The message generated by a successful call to richtext.on_click()
will now also contain the tags of the clicked word.
Defold RichText 5.20.1
FIX: Combine words regression introduced in 5.20.0
FIX: Text nodes were given the incorrect size when the text was scaled
Defold RichText 5.20.0
NEW: Added richtext.plaintext(words)
to convert words back to a plan text string without formatting
NEW: Added dryrun
boolean option to richtext.create()
to parse a text, create words and perform layout but not create the gui nodes
Defold RichText 5.19.0
NEW: The <img>
tag accepts an optional fixed width and height for the image: <img texture:anim[,width[,height]]>
. Thanks to @dblumin45 for the contribution!
Defold RichText 5.18.1
Update example.gui_script
Defold RichText 5.18.0
NEW: Added support for custom tags
NEW: Added default size
as a new settings value
FIX: End tag detection was greedy and could encapsulate multiple tags
Defold RichText 5.17.0
NEW: Split very long text to fit max width of a line (#67)
NEW: Unknown tags are still set on the words. This can be used in a separate step to do additional processing of the text or to get all words with a custom tag using richtext.tagged(words, tag)
(#60)
FIX: Spacing between words was too big (#70)
Defold RichText 5.16.1
FIX: The word spacing when using ALIGN_JUSTIFY was not correct when one or more words have zero width