The rotation of the page is portrait, but content is rotated 90 degrees

Hi there,

Thanks for contacting pdf.js express forums,

Does the PDF have embedded rotation? You can check if the page is rotated or not using the getCompleteRotation API and then rotate the page accordingly using rotateClockwise or rotateCounterClockwise

https://pdfjs.express/api/Core.DocumentViewer.html#rotateClockwise__anchor

Best regards,
Kevin Kim