Some fonts fail to display due to "Unknown font tag".

Bug #386008 reported by Adam Buchbinder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Poppler
Fix Released
Medium
evince (Debian)
New
Unknown
poppler (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: evince

Consider the attached PDF, the fontspec documentation, from CTAN:/macros/xetex/latex/fontspec/fontspec.pdf.

Opening it in Evince prints the following:

 Error: Missing language pack for 'Adobe-Japan1' mapping
 Error: Unknown font tag 'F5.1'
 Error (7597): No font in show

The last two lines are printed numerous times, with the number (an offset?) incrementing each time.

Scrolling to page three reveals missing chunks of text, specifically, those in a monospaced font.

Opening the same file in xpdf prints the warning about missing 'Adobe-Japan1', but not the other two, and the text appears properly. I've had a bit of trouble extracting a single affected page--if I print it from Evince, it's broken both in Evince and in xpdf; if I print it from xpdf, it works in both Evince and xpdf.

If the test case is too unwieldy, I can see about trying to reduce it. Please let me know if this is a Poppler or an Evince bug, and where I should file it upstream.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: evince 2.26.1-0ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: evince
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

The linked Debian bug appears to describe a similar issue, and includes this additional PDF displaying the problem. The unknown font tag it complains of is "G1".

In this case, the size markings from the diagrams, as well as many of the values in the tables (starting on the second page) display in xpdf but not in Evince.

summary: - Certain fonts fail to display in XeTeX output.
+ Some fonts fail to display die to "Unknown font tag".
summary: - Some fonts fail to display die to "Unknown font tag".
+ Some fonts fail to display due to "Unknown font tag".
Changed in evince (Debian):
status: Unknown → New
Revision history for this message
In , Adam Buchbinder (adam-buchbinder) wrote :

The monospaced (typewriter font) text in the attached PDF fails to display in Evince (or with pdftoppm), but works with xpdf. The missing characters are apparent on page three. I concluded that this is a poppler issue by noticing that I can reproduce the problem with a program in poppler-utils.

$ pdftoppm -f 3 -l 3 ~/software/xetex/fontspec.pdf

Output consists of:

Error: Missing language pack for 'Adobe-Japan1' mapping
Error: Unknown font tag 'F5.1'
Error (7597): No font in show

with the last two lines repeating (the number increments as it does). I've tried to get a reduced testcase, but have been unsuccessful thus far.

Tested with current poppler head (commit e5c4862b0c1b08a0fab47070cb9c862026e93567).

Revision history for this message
In , Adam Buchbinder (adam-buchbinder) wrote :

Created an attachment (id=26737)
Screenshot demonstrating the issue.

I can't attach the affected PDF; it's too large. But you can see it here:

http://launchpadlibrarian.net/27785016/fontspec.pdf

Changed in evince (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

I can reproduce this by extracting page three with "pdftoppm"; thus, this is a Poppler bug, not an Evince bug. I can reproduce it with the upstream version; I'm filing an upstream report now.

affects: evince (Ubuntu) → poppler (Ubuntu)
Changed in poppler:
status: Unknown → Confirmed
Revision history for this message
In , Albert Astals Cid (aacid) wrote :

You concluded wrong, your installation is incomplete. Install the poppler-data package if you want to have the Adobe-Japan1 mapping available.

Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

I fixed this by installing the non-free "poppler-data" package, as suggested by the developer. Closing.

Changed in poppler (Ubuntu):
status: Triaged → Invalid
Changed in poppler:
status: Confirmed → Fix Released
Revision history for this message
In , Albert Astals Cid (aacid) wrote :

*** Bug 23529 has been marked as a duplicate of this bug. ***

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

*** Bug 24660 has been marked as a duplicate of this bug. ***

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

*** Bug 24918 has been marked as a duplicate of this bug. ***

Changed in poppler:
importance: Unknown → Medium
Changed in poppler:
importance: Medium → Unknown
Changed in poppler:
importance: Unknown → Medium
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.