On PDFs where every page has a 90 degree rotation in the file (MediaBox is landscape), when I use the underline tool and select text, the line shows up on the side of the text, vertical red bars along the left, instead of under the words. The text itself displays and reads normally on screen.
I tested this even on the main demo viewer on the EmbedPDF website, and it happens there too. It happens with underline, strikeout, and squiggly line.
How To Reproduce:
- Open a PDF where pages have Rotation 90 and a landscape MediaBox.
- Use the underline, squiggly line, or strikeout tool.
- Drag to select a line of text that reads left-to-right on screen.
- The annotations appears beside the text, not under it.
I think there might be a lot of pdfs like this where they have a landscape MediaBox, then rotated 90 degrees. I think it might be due to how some print to pdf drivers work, but I'm not sure. I just know that I have a lot of pdf files that are setup like this.
On PDFs where every page has a 90 degree rotation in the file (MediaBox is landscape), when I use the underline tool and select text, the line shows up on the side of the text, vertical red bars along the left, instead of under the words. The text itself displays and reads normally on screen.
I tested this even on the main demo viewer on the EmbedPDF website, and it happens there too. It happens with underline, strikeout, and squiggly line.
How To Reproduce:
I think there might be a lot of pdfs like this where they have a landscape MediaBox, then rotated 90 degrees. I think it might be due to how some print to pdf drivers work, but I'm not sure. I just know that I have a lot of pdf files that are setup like this.