Text coordinates when stripping from PDFBox
问题 i'm trying to extract text with coordinates from a pdf file using PDFBox. I mixed some methods/info found on internet (stackoverflow too), but the problem i have the coordinates doesnt'seems to be right. When i try to use coordinates for drawing a rectangle on top of tex, for example, the rect is painted elsewhere. This is my code (please don't judge the style, was written very fast just to test) TextLine.java import java.util.List; import org.apache.pdfbox.text.TextPosition; /** * * @author