I have a PDF document containing only text that needs to be saved into a varchar column in MSSQL. The first catch is that the spacing of the text in the PDF needs to be preserved as well, which can't be done simply by copy-pasting from the PDF into SSMS.
Okay, so I need an application to read the PDF as text, while preserving spacing. But now the second catch comes in: the PDF is rendered in Helvetica font, but the text saved into the DB will be displayed in Arial on a Crystal Report (Crystal 8... bleh), and when displayed, it needs to look like the PDF (i.e. same alignment) as far as possible.
The solution that I've proposed is to convert the PDF to a vector image, save the resulting byte stream into the DB, and pull the bytes in through via Crystal. Unfortunately, due to time constraints this can't be implemented now, so I need a quick-and-dirty solution.
Essentially, once I've got the Helvetica version from the PDF, I have to muck around with the spacing to convert it to look correct in Arial. I need a tool that can do this for me, as I don't have the time to write one - any suggestions?