After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 164754 - CID font problem with freetype 2.1.8-2.1.9
CID font problem with freetype 2.1.8-2.1.9
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 164767 165166 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-01-20 21:36 UTC by Vincent Noel
Modified: 2005-01-26 15:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
testfile tactilepro.pdf opened in gpdf (2.8.1) and evince (cvs head) (51.92 KB, image/png)
2005-01-21 11:42 UTC, Hein-Jan Leliveld
Details
screenshot of evince showing the infosheet pdf (107.39 KB, image/png)
2005-01-21 15:54 UTC, Vincent Noel
Details

Description Vincent Noel 2005-01-20 21:36:17 UTC
This two PDF documents do not render properly :

http://matias.ca/tactilepro/resources/TactilePro_Infosheet.pdf
http://www.davidco.com/pdfs/gtd_workflow_advanced.pdf

Letters and graphs are missing. The render in evince look kinda the same for
both, so I figured it could be the same bug happening.
Comment 1 Marco Pesenti Gritti 2005-01-21 08:50:01 UTC
Does they work in gpdf?
Comment 2 Hein-Jan Leliveld 2005-01-21 11:42:56 UTC
Created attachment 36329 [details]
testfile tactilepro.pdf opened in gpdf (2.8.1) and evince (cvs head)

Window on the left is gpdf, on the right is evince. It seems evince does a
better job rendering a image(?) in the PDF.
Comment 3 Hein-Jan Leliveld 2005-01-21 11:44:17 UTC
On both test cases evince does a better job at the rendering than gpdf on my PC.
Comment 4 Vincent Noel 2005-01-21 15:54:23 UTC
Created attachment 36339 [details]
screenshot of evince showing the infosheet pdf

Well your evince works better than mine :)
Here is a screenshot showing how the tactilepro.pdf file shows up on my
computer. Notice how the text is all garbled - you cannot tell what it is
about.

Marco : the same thing happens to me using gpdf. xpdf and xpdf/cairo just exit,
while xpdf-3 shows no text at all, only the images. acroread (v. 5.05 or
something) has no problem.
Comment 5 Martin Kretzschmar 2005-01-21 16:29:42 UTC
Very strange. My evince and gpdf behave as in Hein-Jan's screenshot.

Is there anything special about your freetype2 installation? Which version is
it? Did it change recently?

What's the difference between xpdf and xpdf-3?
Comment 6 Vincent Noel 2005-01-21 16:43:31 UTC
Martin : I plead guilty, I was using a devel version of freetype (pkgconfig
shows 9.8.3). 
I downgraded to freetype 2.1.9 (pkgconfig showing 9.7.3), but it looks the same.
No change.
Should I downgrade more ? ;-)

The difference between xpdf and xpdf-3 is mainly the version number :) I noticed
that the two versions sometimes render pdfs differently.
Comment 7 Pablo Rodríguez 2005-01-22 18:59:37 UTC
I'm afraid that my evince and gpdf (lastest stable versions both) behave as
Vincent shows. Both files contain CID fonts (which I thought I read they were
not displayed by gpdf).

I don't know what you guys (Martin and Hein-Jan) are doing, but I would like to
know how to get it on my computer ;-).

BTW xpdf display the same font and character mess that evince and gpdf show.
Comment 8 Martin Kretzschmar 2005-01-22 19:14:27 UTC
Vincent: I discovered that Ubuntu is still at 2.1.7. I will try 2.1.9 and see if
that breaks evince for me.

Pablo: what about your freetype version?

I'm asking these freetype questions because you reported that all of xpdf,
evince, and gpdf have this problem. It may be totally unrelated to freetype, but
I don't know what else might be causing this.
Comment 9 Pablo Rodríguez 2005-01-22 19:32:15 UTC
Martin, I use FreeType 2.1.9, but I have just discovered that ggv opens both
documents right.

Comment 10 Vincent Noel 2005-01-25 16:28:43 UTC
Pablo : ggv is not working for me neither :(
Comment 11 Vincent Noel 2005-01-25 16:39:42 UTC
Bug 165166 looks very similar.
Comment 12 Marco Pesenti Gritti 2005-01-25 17:25:30 UTC
*** Bug 165166 has been marked as a duplicate of this bug. ***
Comment 13 Martin Kretzschmar 2005-01-25 19:07:46 UTC
*** Bug 164767 has been marked as a duplicate of this bug. ***
Comment 14 Martin Kretzschmar 2005-01-25 19:09:19 UTC
After updating freetype from 2.1.7 to 2.1.9 I can reproduce this problem.

Pablo: ggv doesn't use freetype.
Comment 15 Martin Kretzschmar 2005-01-26 12:45:32 UTC
This freetype patch might help.

http://thread.gmane.org/gmane.comp.fonts.freetype.devel/2199

I can't test now. If it works, this would be NOTGNOME. Any objections?
Comment 16 Nicolas Mailhot 2005-01-26 13:32:01 UTC
The objection being, it does not work (unless I've borked my patching)
Comment 17 Martin Kretzschmar 2005-01-26 13:35:34 UTC
It doesn't work for Marco either (and I found a mail that says that the patch is
indeed not the solution for this problem). Sorry.
Comment 18 Marco Pesenti Gritti 2005-01-26 15:17:54 UTC
Fixed in cvs
Comment 19 Vincent Noel 2005-01-26 15:32:47 UTC
This totally rocks.
Thank you !