The docs don't say anything about the ability to get the text size before rendering. https://www.questpdf.com/api-reference/text.html I need to select the largest string that will fit in an amount of space. I have manually computed the space that will be available for the piece of text so that I could check if it would fit. However, no such function seems to exist? I need a more or less precise measurement to make sure this piece of text never wraps or gets clipped.