Bug 5466

Summary: Weird characters
Product: poppler Reporter: Wouter Bolsterlee <uws+freedesktop>
Component: generalAssignee: Kristian Høgsberg <krh>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: high CC: dberkholz
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Wouter Bolsterlee 2005-12-31 07:08:30 UTC
Rendering http://www.w3.org/TR/CSS21/css2.pdf with poppler HEAD and evince HEAD
gives weird characters instead of legible letters. Furthermore, lots of warnings
are printed on the console:

Error: Couldn't find a font for 'Helvetica'
some font thing failed
Error: Couldn't find a font for 'Helvetica Bold'
some font thing failed
Error: Couldn't find a font for 'Helvetica Oblique'
some font thing failed
failed to look up 9
failed to look up 10
failed to look up 11
failed to look up 12
failed to look up 13
failed to look up 14
failed to look up 15
failed to look up 16
failed to look up 17
failed to look up 18
failed to look up 19
failed to look up 20
failed to look up 21
failed to look up 22
failed to look up 23
failed to look up 9
failed to look up 24
failed to look up 25
failed to look up 25
failed to look up 26

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.
failed to look up 29
failed to look up 29
failed to look up 30
failed to look up 31
failed to look up 32
failed to look up 32
failed to look up 33
failed to look up 34
failed to look up 34
failed to look up 35
failed to look up 36
failed to look up 37
failed to look up 38
failed to look up 39

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): WARNING **: Unimplemented destination: POPPLER_DEST_UNKNOWN,
please post a bug report with a testcase.

** (evince:11973): CRITICAL **: ev_page_cache_get_page_label: assertion `page >=
0 && page < page_cache->n_pages' failed

** (evince:11973): CRITICAL **: ev_page_cache_get_page_label: assertion `page >=
0 && page < page_cache->n_pages' failed

** (evince:11973): CRITICAL **: ev_page_cache_get_page_label: assertion `page >=
0 && page < page_cache->n_pages' failed

** (evince:11973): CRITICAL **: ev_page_cache_get_page_label: assertion `page >=
0 && page < page_cache->n_pages' failed

** (evince:11973): CRITICAL **: ev_page_cache_get_page_label: assertion `page >=
0 && page < page_cache->n_pages' failed
Error: Couldn't find a font for 'Courier'
some font thing failed
Error: Couldn't find a font for 'Courier Bold'
some font thing failed
Error: Couldn't find a font for 'Times Bold'
some font thing failed
Comment 1 Daniel Gryniewicz 2006-01-24 04:14:10 UTC
This has been hit on gentoo with poppler-0.5.0 and evince-0.5.0.  In addition,
pdftohtml run on these files produces empty output.  Note that this works for
some people but not for others, and some files work for some and fail for
others.  The gentoo bug is:
http://bugs.gentoo.org/show_bug.cgi?id=119898
and the example failed file in that bug is:
http://archive.ncsa.uiuc.edu/General/Internet/WWW/HTMLPrimerPDF.pdf
Comment 2 Wouter Bolsterlee 2006-01-24 09:20:28 UTC
The problem seems to be the way the name "Helvetica" is resolved to a real font.

On systems that provide bitmap fonts for Helvetica (eg. the xfonts-75dpi and
xfonts-100dpi on Debian-like systems), the problem appears.

On systems that do not provide bitmap fonts (like Fedora Core), a default
Helvetica is provided by the Nimbus face, a Type 1 font that is installed by
default. This one does not trigger the problem and the affected documents render
fine.

On systems that use a custom Helvetica, such as a real Helvetica purchased in
OpenType format, the problem arises again. A fontconfig match that provides
"Helvetica Neue LT" causes the affected documents to render with weird
characters as well.
Comment 3 Wouter Bolsterlee 2006-01-24 09:29:49 UTC

*** This bug has been marked as a duplicate of 4030 ***

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.