Created attachment 46840 [details] Okular rubbish rendering Opening pdfs generated by some CAD software I get some texts printed as rubbish under okular. Intead of "fi <number> " texts I get random characters (not containing even numnbers) and errors: "Error: Unknown character collection 'PDFAUTOCAD-Indentity0'" "Error: Unknown CID font collection, please report to poppler bugzilla." xpdf renders nothing (empty space) and prints error: Error: Unknown character collection 'PDFAUTOCAD-Indentity0' Error: Couldn't find a font for 'ArialMT' windows version complains about missing "ArialMT" font. Is there any way to substitute missing ArialMT font and get rendered at least numbers ?
Created attachment 46841 [details] xpdf rendering nothing
Created attachment 46842 [details] Problematic pdf.
Use fontconfig to define your font substitutions
(In reply to comment #3) > Use fontconfig to define your font substitutions Is it not set already ?: $ pdffonts k2.pdf: Error: Unknown character collection 'PDFAUTOCAD-Indentity0' Error: Unknown character collection 'PDFAUTOCAD-Indentity0' Error: Unknown CID font collection, please report to poppler bugzilla. name type emb sub uni object ID ------------------------------------ ----------------- --- --- --- --------- ArialMT TrueType no no no 7 0 Arial-BoldMT CID TrueType yes no no 14 0 ArialMT CID TrueType no no no 19 0 Arial-BoldMT TrueType yes no no 22 0 $ fc-match ArialMT Vera.ttf: "Bitstream Vera Sans" "Roman"
More than set, it's "defaulting" to your default font probably.
(In reply to comment #5) > More than set, it's "defaulting" to your default font probably. So problem is somewhere inside poppler ? Or I can check anything more ?
What is your poppler version?
(In reply to comment #7) > What is your poppler version? poppler-0.16.4 Results are same even after I installed ARIALMT.ttf $ fc-match ArialMT ARIALMT.ttf: "ArialMT" "Regular"
Works for me with poppler 0.16.5 Please update and if it still fails reopen the bug.
(In reply to comment #9) > Works for me with poppler 0.16.5 After upgrade to poppler-0.16.5 I still have same output with xpdf / okular :(
Do you have poppler-data installed?
> Do you have poppler-data installed? Yes: poppler-data-0.4.4
As said, seems to work to me with the same configuration, can you attach the result Adobe Acrobat gives you?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/229.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.