Bug 13823

Summary: PDF HowToBuildFromSource (Squeak) displayed weird
Product: cairo Reporter: Thilo Pfennig <thilopfennig>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium CC: chris
Version: 1.9.5   
Hardware: Other   
OS: All   
URL: http://tinlizzie.org/olpc/sugar/squeak/platforms/unix/doc/HowToBuildFromSource.pdf
Whiteboard:
i915 platform: i915 features:
Attachments: screenshot

Description Thilo Pfennig 2007-12-26 05:48:54 UTC
I can not read the text (see URL) with Evince 2.20.1 .
Comment 1 Brad Hards 2007-12-26 14:47:42 UTC
Thanks for your bug report.

Can you tell us a bit more about what you mean by "can not read the text"? Do you mean that there is no text to read, or that it is somehow illegible (e.g. badly drawn, noisy or perhaps the wrong glyphs)?

I tried your test case with a range of readers using poppler. It looked pretty bad (noisy fonts, although still readable) using evince 0.8.2 and poppler 0.5.4 (using cairo) on Fedora 7, but it looked quite OK using evince 2.20.2 and poppler 0.6.2 (using cairo) on Fedora 8. It also looked OK using Qt4 test tools on top-of-tree from git.

Can you tell us which version of poppler you are using? (in evince, you can get this from Help->About).
Comment 2 Brad Hards 2007-12-26 14:49:53 UTC
There might be a problem this is showing in poppler though. With 0.6.2, I see a few "cairo context error: NULL pointer" warning/error messages on the command line.
Comment 3 Thilo Pfennig 2007-12-26 16:41:07 UTC
Created attachment 13372 [details]
screenshot
Comment 4 Thilo Pfennig 2007-12-26 16:41:43 UTC
hard to describe. I have poppler 0.6.2. O attached a screenshot.
Comment 5 Brad Hards 2007-12-26 19:13:36 UTC
I'm certainly not seeing that type of corruption.

Do you get this problem with any other file?

I'm not sure, but perhaps the problem is in some other library (perhaps freetype, fontconfig or cairo)? Or possibly you've hit a compiler bug associated with a different compiler or different build options.

I had a quick look at foresight linux's repo (which I assume that you're using, based on your email address), and one thing I can suggest is not using the --enable-zlib configure option. Other than that, I think you're probably on your own here.
Comment 6 Albert Astals Cid 2009-06-17 14:42:58 UTC
Can you still reproduce this with a newer poppler?
Comment 7 Carlos Garcia Campos 2009-11-18 08:36:10 UTC
I confirm it's not correctly rendered with current poppler, but it's cairo backend specific. There's seems to be a problem rendering Type3 fonts.
Comment 8 Carlos Garcia Campos 2009-11-19 01:39:14 UTC
This cairo commit broke it:

a2254e56474fcdf5f25232812cdbef30a2b5ea60 is first bad commit
commit a2254e56474fcdf5f25232812cdbef30a2b5ea60
Author: Benjamin Otte <otte@gnome.org>
Date:   Sun Oct 18 22:12:13 2009 +0200

    [gstate] Apply target device offsets to patterns immediately
    
    Previously target device offsets were applied in cairo-surface.c which
    could cause bugs when paths were taken as fallbacks, as for example
    pointed out by ade55037ffa596b690c6a1051394589f76eb1f48 and quick-fixed
    by 79190d89853958ee8252440d35a662fabf122afd. The quick-fix is now
    unnecessary and was removed.

:040000 040000 88a0ecd70991b3e9ff70f936558b42ece770cc4b 8a4ba2e7d100e4938f33b6533a69332b4964694a M	src

I'm not sure whether this is cairo or poppler issue, though. ickle?
Comment 9 Chris Wilson 2009-12-01 12:33:13 UTC
This is a cairo bug, fixes pending.
Comment 10 GitLab Migration User 2018-08-25 13:32:47 UTC
-- 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/cairo/cairo/issues/60.

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.