PdfBox-Android
PdfBox-Android copied to clipboard
draw text in a "box"
I have an image on which i have compute ocr like this (black areas are the ocr text drawn on top of the image).
as you can see the text is fitted within boxes.
now i want to create a pdf with the image and transparent text on top of it.
is there a way to draw text within a rect/box using pdfbox?
I did not find which api i could do that with
Thanks