Quote:
Originally Posted by kim1406
Good news about the new release.
I have a problem with some native pdf files with Arabic letters. K2pdfopt will output files with none-readable fonts/characters (squares instead of normal Arabic fonts). I tried both options, with /and without native PDF output which gave me the same result.
Attached is a sample file along with the output file, you may please look at the problem.
thanks for your great help.
|
Okay--first off, the converted file should display correctly if you convert using native mode. I'm guessing you didn't actually get native mode turned on because you had text re-flow or OCR turned on (these disable native-mode conversions). Secondly, I didn't understand why k2pdfopt would not render your font (Simplified Arabic) and Sumatra would when they are both based on the MuPDF library, so I did some investigating. It turns out that there are modifications to the MuPDF library specifically for Sumatra that enable it to correctly render MS Windows system fonts when they are not already embedded in the PDF file (the MuPDF library, as downloaded from the MuPDF site, does not do this). So I have incorporated those Sumatra mods into my version of the MuPDF library, and the next release of k2pdfopt will correctly render this font (or any other MS Windows system font which is not directly embedded in the PDF file).