Bug 8399 - colored text not displayed
Summary: colored text not displayed
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: poppler-bugs
QA Contact:
: 10484 11046 12823 (view as bug list)
Depends on:
Reported: 2006-09-22 10:35 UTC by Frederic Crozat
Modified: 2007-10-31 11:19 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:

colored text not displayed (77.50 KB, application/pdf)
2006-09-22 10:35 UTC, Frederic Crozat

Description Frederic Crozat 2006-09-22 10:35:01 UTC
the attached pdf file doesn't display any text when using poppler cairo backend
(all text is rendered in white).

Selecting text (in evince) is causing it to appear.

This is with poppler 0.5.3 or 0.5.4. Splash backend is working correctly.
Comment 1 Frederic Crozat 2006-09-22 10:35:56 UTC
Created attachment 7121 [details]
colored text not displayed
Comment 2 Jeff Muizelaar 2007-07-31 11:39:59 UTC
*** Bug 11046 has been marked as a duplicate of this bug. ***
Comment 3 Jeff Muizelaar 2007-07-31 11:41:07 UTC
Caused by poppler sending bad glyph id's to cairo.
It looks like the embedded fonts do not contain a glyph for the 'space' character.
Comment 4 Jeff Muizelaar 2007-08-01 17:23:15 UTC
I'm thinking the best place to fix this might be in cairo. i.e. it should handle the error from FT_Load_Glyph more gracefully.
Comment 5 Jeff Muizelaar 2007-08-02 12:19:42 UTC
Indeed some work has already been done to solve similar problems with cairo.

See this tree:

and the discussion surrounding it:
Comment 6 Carlos Garcia Campos 2007-08-03 02:54:08 UTC
Here is another test file:

Comment 8 Sebastien Bacher 2007-08-06 07:21:05 UTC
somewhat similar ubuntu bug on https://bugs.launchpad.net/bugs/130105
Comment 9 Carlos Garcia Campos 2007-10-16 06:57:17 UTC
*** Bug 12823 has been marked as a duplicate of this bug. ***
Comment 10 Runar Ingebrigtsen 2007-10-16 08:18:40 UTC
Background color also renders in white, apparently. See the attachment to bug 12823.
Comment 11 Carlos Garcia Campos 2007-10-22 11:26:38 UTC
*** Bug 10484 has been marked as a duplicate of this bug. ***
Comment 12 Carlos Garcia Campos 2007-10-31 07:54:48 UTC
I've just compiled cairo snapshot 1.5.2 and tried again with all of the test cases reported here (and its duplicates). All of them are rendered correctly now :-) 

Thank you all for your help (and cairo team for fixing it, of course)
Comment 13 Frederic Crozat 2007-10-31 09:37:33 UTC
This bug is in fact a duplicate of cairo bug #9846
Comment 14 Frederic Crozat 2007-10-31 11:19:22 UTC
correction, to get all PDF rendered correctly, you need fixes for bugs #12284 AND #9846, ie git commit d62f8861689d8b9a9a837043fb78813f0407abd4 and 79d975f84bcc32e91db517d71a7312e2e1d653d4 against cairo 1.4.10

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.