evince chooses wrong font substitutes

Bug #131523 reported by Matthias Klose
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Poppler
Fix Released
Undecided
Unassigned
poppler (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs
Declined for Hardy by Pedro Villavicencio
Nominated for Intrepid by Felipe Figueiredo

Bug Description

Binary package hint: evince

view http://www.publications.parliament.uk/pa/ld/lduncorr/s&tii210207a.pdf with evince in current gutsy without having Times NewRoman and Arial fonts installed. The metric incompatible DejaVu fonts are choosen, instead of metric compatible ones. This is a regression.

Tags: evincefont
Matthias Klose (doko)
Changed in evince:
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. poppler uses fontconfig to choose fonts, are you sure that's not a fontconfig issue?

Changed in evince:
assignee: nobody → desktop-bugs
status: New → Incomplete
Revision history for this message
Matthias Klose (doko) wrote :

unknown. please investigate

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you still get the issue on hardy? The example seems to render correctly

Revision history for this message
TerryG (tgalati4) wrote :

Test document appears to render correctly with acroread (version 8) under gutsy. Document looks OK under evince, but font kerning looks slightly mushed together. Readable, but not perfect. Only arial font installed under .playforlinux which is a wine gaming port, so I don't think its available to the general system since it's not in the path. The kerning problem is happening with the serif font (presumably Times NewRoman.

Triaged as Confirmed. Work around is to use acroread.

Revision history for this message
TerryG (tgalati4) wrote :

Marked to Confirmed since I was able to replicate the problem. Example provided by reporter is typical of what many folks are experiencing with evince and the suspected kerning problem (font is pushed together).

Changed in poppler:
status: Incomplete → Confirmed
Revision history for this message
Matthias Klose (doko) wrote :

again setting a milestone

Changed in poppler:
milestone: none → ubuntu-8.04-beta
Revision history for this message
Steve Langasek (vorlon) wrote :

Is this still an issue with current hardy? I don't see any rendering issues with the sample document. I don't have the Microsoft fonts installed; I do have subpixel smoothing and full hinting enabled.

If someone is still seeing this issue with the sample document, please provide:
 - a more precise description of how the font selection breaks the document display
 - the settings from System -> Preferences -> Appearance -> Fonts -> Details
 - the output of "dpkg -l '*ttf-*'|grep ^ii"

Steve Langasek (vorlon)
Changed in poppler:
milestone: ubuntu-8.04-beta → ubuntu-8.04
status: Confirmed → Incomplete
Revision history for this message
Matthias Klose (doko) wrote :

the correct fonts are choosen in hardy. I am unsure what people do mean by the "kerning problem".

Steve Langasek (vorlon)
Changed in poppler:
milestone: ubuntu-8.04 → none
Revision history for this message
SK (stephantom) wrote :

I am not so sure whether this is the same or a related issue:
The PDF document attached is displayed by libpoppler based viewers (I tested evince and epdfview) with all bold and cursive text.
Note that the documents suggests the fonts "Courier" and "Courier-Oblique" (both are no embedded).

$ fc-match "Courier"
n022003l.pfb: "Nimbus Mono L" "Regular"

Nimbus Mono L Regular would be a perfect substitute, since I don't have a font named 'Courier'.
Although the viewer uses a font that looks like Nimbus (and most likely is), but renders all text in bold and oblique.

Compare this to the rendering of xpdf (which does handle this correctly).

Since the correct font is suggested by fontconfig, I am almost sure that this must be an issue with libpoppler handling something the wrong way.

Changed in poppler:
status: Incomplete → Confirmed
Revision history for this message
Jeff Muizelaar (jeff-infidigm) wrote :

This bug is likely the following upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=12304 for which there is an upstream patch.

Revision history for this message
Ulrich Lukas (ulrich-lukas) wrote :

Perhaps this is related to this issue:

Opening
> http://www.rockwellautomation.ch/applications/gs/emea/gsch.nsf/4a87ff3bf2c03cc38525646f0072ffa9/05fa4296bf773768cc25707300199eab/$FILE/RAAMP-Prospekt_D_final.pdf

in KPDF and Adobe Reader shows very different results:
interwoven, or nested, letters for parts of the document (headings) in KPDF;
correct displayed in Adobe Reader.

Additionally, despite the document is scaled to 183% both times, the screen size is different.

Screenshots attached.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

bug 12304 upstream is bug 185251 on Ubuntu which was fixed already, could somebody having the issue send it upstream? thanks in advance.

Changed in poppler:
importance: Unknown → Undecided
status: Unknown → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

ping any news about it?

Revision history for this message
Rogério Theodoro de Brito (rbrito) wrote :

Since I'm trying to get things better with evince, I'm triaging (and filing) some bugs.

I'm not seeing the problem with the attached documents here, with karmic (freshly updated). Everything seems to work fine (kerning etc).

I guess that this could be closed.

Regards, Rogério Brito.

Revision history for this message
SK (stephantom) wrote :

I am not seeing this issue in Evince 2.26.2 (using poppler 0.10.7 (cairo)).

Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

Based on the last two comments I am closing this bug report. If this is still an issue for anyone using an up-to-date Karmic install, please feel free to reopen this bug.

Thanks!

Changed in poppler (Ubuntu):
status: Confirmed → Fix Released
Changed in poppler:
status: New → Fix Released
Revision history for this message
scruss (scruss) wrote :

Still present in Ubuntu 14.10. Evince is substituting vastly incorrect fonts. DejaVu-Serif for Times-Roman is forgivable through ignorance, but Liberation Sans for ZapfDingbats is in “what is this I don't even” country.

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.