PDF markup and annotation tool

Hi, developers,

I am developing a PDF annotation for Android Tablet and would like to open / display a PDF file in my Android application for editing. I did research on how to open a PDF file, and most methods and libraries offer to convert PDF to image file. I do not want to convert to an image file because the image file is pixelated when I increase the resolution. Now the problem I am facing is this.

1) What method should I use to display a pdf file in my application for annotation 2) I also want to implement text payment in my application

Please offer.

Thanks.

Regards, Marcello

+4
source share
1 answer

If you read the specification of the PDF file, you will find that there is no stream type in pdf. In fact, each letter is simply strictly coordinated on the page. Therefore:

  • The easiest way is to annotate any pdf document content by label coordinates in any rendering content.
  • It is not possible to use pdf as the "what you see, what you get" editor. It is not even possible to completely correct the syntax text for editing and vice versa. This is the fundamental idea of ​​WRONG, because PDF is just a presentation, not a design.
  • The funniest part of pdf is the text. Especially the text in Unicode. I want to say that catching non-English text from a pdf file will lead to unpredictable results.

Thanks!

0
source

All Articles