wrap_text: Wrap text to fit within a given width
Description
Wrap text to fit within a given width
Usage
wrap_text(text, max_width, font = "Jost", fontsize = 12)
Value
List with wrapped lines and total height
Arguments
- text
Text to wrap
- max_width
Maximum width in pixels
- font
Font name
- fontsize
Font size