[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PDF displayed incorrectly by certain software



On 2018-01-23, Ionel Mugurel Ciobîcă <I.M.Ciobica@upcmail.nl> wrote:
> On 22-01-2018, at 18h 28'13", Greg Marks wrote about "PDF displayed incorrectly by certain software"
>> I have encountered a peculiar situation where a PDF file displays as
>> gibberish with certain PDF viewers but displays correctly with others.
>> [...]
>> numerous "Missing or bad Type3 CharProc entry" syntax errors) followed by
>> [...]
>
> I encounter similar issue with my bank statements... xpdf will not
> show any glyphs, only lines and logo, same as okular; gv on the other
> hand will show everything. The pdf files are version 1.4. Funny is
> that older files (still 1.4) will show fine with xpdf and okular. Only
> newer ones have this issue... xpdf will spit out few hundreds times
> Syntax Error: "Missing or bad Type3 CharProc entry".

Same problem here with bank statements (recent bank statements unviewable in
xpdf but viewable in evince).

(Actually it appears the pdfs viewable in xpdf are 'PDF document, version 1.4'
and the pdfs that are not are 'PDF document, version 1.7' according to 'file'.)

> I can't ping point the difference between the older files and the
> newer ones, except the size. The newer ones are more than twice the

Seems to be a pinpointable difference here.

Old bank statement:

curty@einstein:~/releve$ pdffonts dec2014.pdf 
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
Times-Roman                          Type 1            no  no  no       8  0
Helvetica                            Type 1            no  no  no       7  0
Helvetica-Bold                       Type 1            no  no  no       5  0
Courier                              Type 1            no  no  no       9  0

New bank statement:

curty@einstein:~/releve$ pdffonts dec2017.pdf 
name                                 type              emb sub uni object ID
------------------------------------ ----------------- --- --- --- ---------
[none]                               Type 3            yes no  no      10  0
[none]                               Type 3            yes no  no      11  0
[none]                               Type 3            yes no  no      12  0
[none]                               Type 3            yes no  no      13  0
[none]                               Type 3            yes no  no      14  0
[none]                               Type 3            yes no  no      15  0
[none]                               Type 3            yes no  no      16  0
[none]                               Type 3            yes no  no      17  0
[none]                               Type 3            yes no  no      18  0
[none]                               Type 3            yes no  no      19  0
[none]                               Type 3            yes no  no      20  0
[none]                               Type 3            yes no  no      21  0
[none]                               Type 3            yes no  no      22  0
[none]                               Type 3            yes no  no      23  0
[none]                               Type 3            yes no  no      26  0
[none]                               Type 3            yes no  no      27  0

The OP's pdf shows a slew of Type 3 fonts also.

I read installing 'cm-super' might magically fix things so I did, but it didn't
(although I believe the output of pdffonts on the cklppaper.pdf changed
afterwards with some of the Type 3 fonts subsisted with Type 1--is that
possible)?

Anyhow I'm a blind man trying to lead the sighted.

(PS: Seems like all the math more or less renders in xpdf when viewing 'cklppaper.pdf'
here.) 

-- 
“True terror is to wake up one morning and discover that your high school class
is running the country.” – Kurt Vonnegut


Reply to: