Using Aspose.PDF 8.9
We are trying to draw boxes around certain elements in existing PDFs that match certain criteria. The attached sample project highlights 2 issues that we are seeing.
- Vertical text in the PDF is coming back with the lower left and upper right coordinates exactly the same. This is preventing us from drawing a box around vertical elements.
- In some instances the rectangle coordinates seem to be off compared to where the text is displayed on the page. In the sample project attached, we are trying to draw a box around anything with a Courier font. On page 1 everything is fine and the box surrounds the text. However, on page 2 the rectangle values seem to be off and the box is down and to the left of where the text appears to be on the screen. Not sure if this is a bug or if it is a problem with how we are getting the rectangle coordinates for the text segment.