I have a project that involves creating a pdf reader in Flex. pdf2swf seems like the perfect tool, but I'm running into a few problems. The biggest of these seems to be with pdfs created by LaTeX. They convert and load into Flex fine, but the problem occurs when I try to do any sort of searching for text using the TextSnapshot class. It appears as though all the text in the file has had all whitespace removed. For example, a sentence that looks like this when copied from a pdf....
The quick brown fox jumped over the lazy dog.
... will instead look like this when copied from the converted swf....
Thequickbrownfoxjumpedoverthelazydog.
This is kind of a show stopper for me. Has anyone ever run into a similar problem or have any idea how I might fix this?