react-native-pdf-lib
react-native-pdf-lib copied to clipboard
How can I do word wrap of text in drawText ?
I needed to add text to PDF. The text can be a multiline or a single large line. In both cases, I need to add the text in multiple lines. What is the best way to do it?
This library doesn't support full text layout. The best way would be to either submit a PR to support word wrapping, or to calculate the lines yourself and lay them out one at a time.