Cordinate for the extracted char is not correct , the height is near 0.
in this PDF
extract.pdf (253.8 KB)
the coordinate of all char is in this XML
extract.xml.zip (831 Bytes)
As you can see in the image the height of each char are lest than 0.1
image.png (13.8 KB)
in the next image the red rectangle is the segment rectangle drawing, and the black rectangle is the char rectangle drawing
image.png (82.3 KB)
Could you help me to resolved the issue?
this java code to generate the PDF with rectangle
LocatePhrase.7z (1.3 KB)
result of this code
extract-rectangle.pdf (259.4 KB)
Regards
Fabien