PdfBox-Android icon indicating copy to clipboard operation
PdfBox-Android copied to clipboard

draw text in a "box"

Open farfromrefug opened this issue 2 years ago • 0 comments

image 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

farfromrefug avatar Nov 10 '23 15:11 farfromrefug