Bug 37297

Summary: Unknown character collection 'PDFAUTOCAD-Indentity0'"
Product: poppler Reporter: Mateusz Korniak <mateusz-lists>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Okular rubbish rendering
xpdf rendering nothing
Problematic pdf.

Description Mateusz Korniak 2011-05-17 14:03:48 UTC
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 ?
Comment 1 Mateusz Korniak 2011-05-17 14:04:56 UTC
Created attachment 46841 [details]
xpdf rendering nothing
Comment 2 Mateusz Korniak 2011-05-17 14:06:07 UTC
Created attachment 46842 [details]
Problematic pdf.
Comment 3 Albert Astals Cid 2011-05-17 14:45:06 UTC
Use fontconfig to define your font substitutions
Comment 4 Mateusz Korniak 2011-05-18 00:46:02 UTC
(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"
Comment 5 Albert Astals Cid 2011-05-18 00:51:44 UTC
More than set, it's "defaulting" to your default font probably.
Comment 6 Mateusz Korniak 2011-05-18 01:29:42 UTC
(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 ?
Comment 7 Albert Astals Cid 2011-05-18 11:05:05 UTC
What is your poppler version?
Comment 8 Mateusz Korniak 2011-05-18 13:24:00 UTC
(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"
Comment 9 Albert Astals Cid 2011-05-18 13:58:34 UTC
Works for me with poppler 0.16.5

Please update and if it still fails reopen the bug.
Comment 10 Mateusz Korniak 2011-05-18 14:38:45 UTC
(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 :(
Comment 11 Albert Astals Cid 2011-05-18 15:09:05 UTC
Do you have poppler-data installed?
Comment 12 Mateusz Korniak 2011-05-18 23:27:04 UTC
> Do you have poppler-data installed?
Yes:
poppler-data-0.4.4
Comment 13 Albert Astals Cid 2011-05-24 15:44:05 UTC
As said, seems to work to me with the same configuration, can you attach the result Adobe Acrobat gives you?
Comment 14 GitLab Migration User 2018-08-20 22:12:17 UTC
-- 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.