Error: Illegal entry in bfchar block in ToUnicode CMap

Bug #314506 reported by Shirish Agarwal
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Poppler
Unknown
Medium
poppler (Ubuntu)
Triaged
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince

It took a long time to load a poster.pdf .

This is the error it showed in terminal .

~$ evince poster.pdf
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap

When it did show, it is/was sort of grainy.

If there is some sort font which is missing, it should show in some understandable manner.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: evince 2.25.4-0ubuntu2
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_IN
SourcePackage: evince
Uname: Linux 2.6.28-4-generic i686

Tags: apport-bug
Revision history for this message
Shirish Agarwal (shirishag75) wrote :
Revision history for this message
Shirish Agarwal (shirishag75) wrote :

The poster in question can be found at http://madsrh.googlepages.com/poster.pdf

Attaching the same.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

I can confirm the error messages and the graininess. However, please note that the graininess goes away when zooming in... Opened also in acroread 8, no errors, no graininess (however, zoom in to 150% and the graininess goes away also in evince).
The fonts included are "Calibri" and "Ubuntu-Title"

Changed in evince:
status: New → Confirmed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

that's a poppler issue, will forward upstream.

Changed in evince:
importance: Undecided → Low
Revision history for this message
In , Sebastien Bacher (seb128) wrote :

The bug has been opened on https://bugs.launchpad.net/bugs/314506

"It took a long time to load a poster.pdf .

This is the error it showed in terminal .

~$ evince poster.pdf
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap
Error: Illegal entry in bfchar block in ToUnicode CMap

When it did show, it is/was sort of grainy.

If there is some sort font which is missing, it should show in some understandable manner.

http://launchpadlibrarian.net/20959731/poster.pdf
The poster in question can be found at http://madsrh.googlepages.com/poster.pdf
I can confirm the error messages and the graininess. However, please note that the graininess goes away when zooming in... Opened also in acroread 8, no errors, no graininess (however, zoom in to 150% and the graininess goes away also in evince).
The fonts included are "Calibri" and "Ubuntu-Title""

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: Took a long time to load a .pdf poster file.
Changed in poppler:
status: Confirmed → Triaged
assignee: nobody → desktop-bugs
Changed in poppler:
status: Unknown → Confirmed
Revision history for this message
In , Albert Astals Cid (aacid) wrote :

Define long time please, 1 second, 1 minute, 1 hour, 1 day?

The font grainyness seem present only in the cairooutputdev, poppler master is supposed to have some fixes about fonts in the cairooutputdev but i can't test it because it needs a too new cairo, Carlos can you please test?

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

(In reply to comment #1)
> Define long time please, 1 second, 1 minute, 1 hour, 1 day?

4.5 seconds with poppler-glib-demo

> The font grainyness seem present only in the cairooutputdev, poppler master is
> supposed to have some fixes about fonts in the cairooutputdev but i can't test
> it because it needs a too new cairo, Carlos can you please test?
>

fonts issue is present in git master too.

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

4.5s doesn't seem "too long" to me, moving to cairo outputdev component as the font problem is the only problem i really see in this pdf.

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: Took a long time to load a .pdf poster file.

what do you call long time for loading it? it takes some seconds in jaunty

Revision history for this message
Shirish Agarwal (shirishag75) wrote : Re: [Bug 314506] Re: Took a long time to load a .pdf poster file.

Hi Sebastian,
       On the road so can't comment now.
--
          Regards,
          Shirish Agarwal
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17

Revision history for this message
Dimitrios Symeonidis (azimout) wrote : Re: Took a long time to load a .pdf poster file.

sebastien, I wouldn't focus on the loading time, but on the errors. The loading time is indeed ~10 seconds for me in jaunty, then when scrolling down (to see the bottom of the page) there's another freeze of 5-10 seconds...

Revision history for this message
In , Peter Funk (pf-artcom-gmbh) wrote :

I stumbled over this bug report while searching the web on
with the error message
"Error: Illegal entry in bfchar block in ToUnicode CMap"
I saw this message displayed while trying to view a PDF file
generated by Adobe Indesign CS4 (Adobe PDF Library 9.0) with
evince (Ubuntu 9.4 Jaunty with poppler-utils 0.10.5-1ubuntu2).

In my case this particular PDF displays wrong results
(compared to what Adobe Acrobat 8.0 shows and what the creator
of this particular PDF obviously intended): Certain text
is missing! Unfortunately I'm not allowed to attach this
particular problematic PDF because it contains confidential info.

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

Peter, without the pdf there is nothing we can do, if you send it to me i can have a look and put it on my files to never share. Otherwise we can't do anything.

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

It takes mostly the same time in splash and cairo backend, I see the same error messages with both too and the fonts rendering issue is fixed in git master now (bug #5589). Do we move this to general because of the rendering time? or just close it as fixed because of the font rendering?

Revision history for this message
nuttycat (nuttycat) wrote :

There's a proposed patch here : https://bugs.freedesktop.org/show_bug.cgi?id=27728
Can someone please integrate this into the the latest release? The current version libpoppler5_0.12.4-0ubuntu5_i386 in Lucid (Ubuntu 10.04) with all the latest updates still shows this error.

Changed in poppler:
importance: Unknown → Medium
Changed in poppler:
importance: Medium → Unknown
Changed in poppler:
importance: Unknown → Medium
Revision history for this message
In , Shirish Agarwal (shirishag75) wrote :

Hi all,
I am on Debian sid now and this issue is still there.

Error: Illegal entry in bfchar block in ToUnicode CMap

It does not matter what app I use get the same issue.

$ epdfview cellit.pdf
Error: Illegal entry in bfchar block in ToUnicode CMap

$ xpdf cellit.pdf
Error: Illegal entry in bfchar block in ToUnicode CMap

and it takes quite a bit of time to open up (more than a minute) the file. This is on Pentium Dual-core. The error comes out multiple times.

One can find the pdf I was opening at http://cellit.co.in/ui_images/magazines/pdf/Magazine-1-2012-33.pdf . I just renamed it to cellit so I remember.

Revision history for this message
In , Shirish Agarwal (shirishag75) wrote :

$ apt-show-versions -a libpoppler13
libpoppler13 0.16.7-2+b1 install ok installed
No stable version
libpoppler13 0.16.7-2+b1 testing ftp.au.debian.org
libpoppler13 0.16.7-2+b1 unstable ftp.au.debian.org

Revision history for this message
In , Gitlab-migration (gitlab-migration) wrote :

-- 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/110.

Changed in poppler:
status: Confirmed → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.