https://blog.aspose.com/pdf/rotate-text-inside-pdf-documents-in-java/
How to Rotate Text in PDF using Java