If I download the file from WordPress and view it in Adobe Acrobat Reader or the latest IE and Chrome's inbuilt PDF viewers, it looks perfect.
Only in Firefox 33.1.1 on Windows 8 there is a problem.
I am attaching part of the text that is resulting in the problem, which I saved in Notepad with ANSI encoding.
Do you think the problem crept in while the text was copy-pasted between various editors, for instance Notepad to MS Word and then into WordPress' post editor?
Another interesting thing is that this problem doesn't happen with other text. So I am suspecting the "journey" taken by the text might have something to do with this problem, like saving in MS Word in a certain format, then moving to Notepad, and so on. I guess the best workaround would be to ascertain which "journey" works and stick to it.
Steps to replicate: 1) Generate PDF from sample file using PrinceXML. 2) Upload the generated PDF to WordPress site. 3) View the uploaded PDF in Firefox 33.1.1 (Windows 8 ) PDF Viewer. 4) Notice the garbled text as indicated in the first post of this thread.
Thanks. Some how when I convert it, although I get the same text, there is no problem in Firefox. I'm wondering if some of the CSS is causing the problem, as I don't have access to the style sheets. Are you applying the prince-text-replace property at all?
I've attached a very simple test document that just has a small bit of text using the AdorshoLipi font. This does not cause any problems for me when I view the PDF in Firefox, does it work for you?