bad rendering - garbled text

Bug #185251 reported by Egon Kocjan
18
Affects Status Importance Assigned to Milestone
Poppler
Fix Released
Medium
poppler (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Tested on Hardy, evince renders pdf badly, while xpdf renders ok.

Revision history for this message
In , David-juran (david-juran) wrote :

Created an attachment (id=11452)
screenshot

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

This is not a bug. The font does not have the fonts embedded and you probably don't have Univers-Light not Univers-UltraCondensed fonts installed in your system, so we try to find some font that matches and draw them where the documents ask for them to be read, as the font we get is wider than those fonts, glyphs overlap.

Revision history for this message
In , David-juran (david-juran) wrote :

Hmmm, xpdf-3.02-3.fc7 seems to get the font at least somewhat right. But that's maybe a coincidence that happens in this particular case...

Revision history for this message
In , Jeff Muizelaar (jeff-infidigm) wrote :

xpdf has code to adjust the width of the rendered font, that code got ripped out of poppler when the fontconfig patches hit.

Revision history for this message
In , Jeff Muizelaar (jeff-infidigm) wrote :

The cairo backend is 'fixed' now. The splash backend remains broken.

Revision history for this message
In , Brad Hards (bradh) wrote :

Jeff

I take it that your "Scale text to match 'm' size" patch is the Cairo backend fix for this?

Brad

Revision history for this message
In , Jeff Muizelaar (jeff-infidigm) wrote :

Yep that's the cairo fix.

Revision history for this message
In , Jeff Muizelaar (jeff-infidigm) wrote :

*** Bug 9830 has been marked as a duplicate of this bug. ***

Revision history for this message
Egon Kocjan (egon-kocjan) wrote : bad rendering

Tested on Hardy, evince renders pdf badly, while xpdf renders ok.

Revision history for this message
Egon Kocjan (egon-kocjan) wrote :
Revision history for this message
Egon Kocjan (egon-kocjan) wrote :
Revision history for this message
Egon Kocjan (egon-kocjan) wrote :
Revision history for this message
In , Albert Astals Cid (aacid) wrote :

Fixed on Splash on master too.

Revision history for this message
In , Albert Astals Cid (aacid) wrote :

*** Bug 14294 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Luke-hutchison (luke-hutchison) wrote :

Does the cairo backend use this information to try to find the font that requires the minimum stretching, i.e. with the most similar metrics? If not (i.e. if it's just approximately matching font style etc.) then this could make some articles look a little funny, as individual glyphs are stretched different amounts to fit on screen.

Revision history for this message
Egon Kocjan (egon-kocjan) wrote : Re: bad rendering
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for sent it upstream!.

Changed in poppler:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Triaged
Changed in poppler:
status: Unknown → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

What is your issue exactly, the font rendering? The new version in hardy still has the issue, the upstream bug should likely be reopened

Revision history for this message
Egon Kocjan (egon-kocjan) wrote :

The fix is not present in 0.6.4, but it seems to be mostly fixed in git. I've reopened the bug:
https://bugs.freedesktop.org/show_bug.cgi?id=14294

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

fixed upstream.

Changed in poppler:
status: Triaged → Fix Committed
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream considers that poppler is doing its job correctly, rendering issue can be due to the fonts available though

Changed in poppler:
status: Fix Committed → Fix Released
Revision history for this message
In , Jeff Muizelaar (jeff-infidigm) wrote :

Created an attachment (id=19078)
prototype of cairo user fonts for scaling to character widths

Changed in poppler:
importance: Unknown → Medium
Changed in poppler:
importance: Medium → Unknown
Changed in poppler:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.