Returns the length, in inches, of the string as it would be displayed on a page, using the current font. Bear in mind that the combination of many bytes sometimes results in a single glyph and that text orientation can also affect the number of glyphs displayed.
stringwidthutf8(text, mode)
text
UTF8 text string to be measured.
mode
String specifying how the contextual analysis is to be performed. Possible values are 'normal', 'reverse', and 'none' (for no contextual analysis).