allow multiline strings in getDocumentPointsize