I need a web- or windows application to extract all characters in a PDF into a HTML file which includes position definition for each character.
The application will need to input the PDF and extract the glyphys / characters into a HTML file.
The HTML file will include an image per PDF page (image does not need to be created by application)
The extracted text output needs to be positioned on roughly the same position as the text in the PDF.
Because a PDF may have different fonts which are not available as webfonts, it is important to get the following information from the PDF
- Line height per character
- Space beween characters
- Space between lines
The output needs to take this information into consideration when creating the HTML file.
You can calculate this for a typical web font such as Arial.
I will later use the output, to allow text-selection as an additional layer on top of an image.