Closed britzl closed 6 years ago
Return height of generated text from richtext.create()
Width is also important. Metered width can be smaller than the max width that gets passed to create.
create
Text metrics are now returned:
local nodes,metrics = richtext.create(...) print(metrics.width, metrics.height)
Return height of generated text from richtext.create()