strange font behaviour - connected letters

Bug #128074 reported by Felipe Figueiredo
2
Affects Status Importance Assigned to Milestone
Poppler
Fix Released
Medium
poppler (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs
Declined for Hardy by Steve Beattie
Intrepid
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince

Hello,

in a particular PDF I have, the letters seem strangely connected, and some appear as symbols. The same file appears nicely in xpdf and adobe reader.

I'm including a screenshot.

How can I provide better information to get it fixed?

Revision history for this message
Felipe Figueiredo (philsf) wrote :

I forgot to mention I'm using Feisty.

Here's the screenshot.

Revision history for this message
Felipe Figueiredo (philsf) wrote :

And here's the original file.

evince prints it ok, FWIW (except for bug #120861, but that can be worked around).

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

The bug has been opened on https://bugs.launchpad.net/bugs/128074

"Binary package hint: evince

Hello,

in a particular PDF I have, the letters seem strangely connected, and some appear as symbols. The same file appears nicely in xpdf and adobe reader.

I'm including a screenshot.

How can I provide better information to get it fixed?

http://launchpadlibrarian.net/8561960/evince-feisty.png
evince-feisty.png (124.4 KiB, image/png)

I forgot to mention I'm using Feisty.

Here's the screenshot.

http://launchpadlibrarian.net/8561964/Pybus_et_al_2000_Genetics.pdf
Pybus_et_al_2000_Genetics.pdf (156.0 KiB, application/pdf)

And here's the original file.

evince prints it ok, FWIW (except for bug #120861, but that can be worked around)."

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

looks like a font substitution problem and could probably be fixed with fontconfig reconfiguration

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

what sort of reconfiguration are you speaking about?

Revision history for this message
In , Carlos Garcia Campos (carlosgc) wrote :

It's not cairo backend specific. Looks like fontconfig problem.

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

Thanks for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: https://bugs.freedesktop.org/show_bug.cgi?id=11864

Changed in evince:
importance: Undecided → Low
Changed in poppler:
status: New → Triaged
Changed in poppler:
status: Unknown → Confirmed
Revision history for this message
In , Jeff Muizelaar (jeff-infidigm) wrote :

This isn't really a font substitution problem. Currently we don't adjust the widths of characters when we substitute fonts. xpdf has a hack that compares the widths of the 'm' characters and adjusts the size to match. That hack was removed from poppler when the fontconfig patch went in.

I'm not sure the best way to fix this yet.

Revision history for this message
In , Felipe Figueiredo (philsf) wrote :

What about re-inserting the hack patch? Is it incompatible with the fontconfig patch?

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

The m-hack has been reintroduced a while ago.

Revision history for this message
In , Felipe Figueiredo (philsf) wrote :

@Albert
I still get this issue in a lot of documents in evince 2.22.2-0ubuntu1 with libpoppler 0.6.4-1ubuntu1 in Ubuntu 8.04. Has the m-hack been introduced before this bug was posted?

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

poppler 0.6.4 is old, bug your distribution to update it.

Revision history for this message
Felipe Figueiredo (philsf) wrote :

Sebastien,

upstream says the patch was reintroduced a while ago. I still have this issue in hardy.

Changed in poppler:
status: Confirmed → Fix Released
Revision history for this message
Felipe Figueiredo (philsf) wrote :

Even though it's not critical, I think it's important to fix this for hardy. It's a very bad advertising for an otherwise very good application (evince), and degrades the visibility of Ubuntu in general not to be able to properly handle what is expected to be a simple task, in the view of lay people (and indeed works with other apps).

I decided to try fool evince into using poppler3 from intrepid. Intrepid version compiles fine on Hardy, and I managed to replace them with an ugly hack with symlinks between libpoppler.so.3/libpoppler.so.2 and libpoppler-glib.so.3/libpoppler-glib.so.2. Not surprisingly, it was very unstable, and evince crashed on mouseover actions, so I couldn't select/copy to test for other bugs (bug #33288 for example). But it kind of worked.

I'm attaching a new screenshot of the result. It's still not perfect, the "fi" string still appear as an undefined (to me at least) ascii character (look for the first sentence in the abstract: "We describe a unified ...". Also appear in the last two of the abstract). Even so, readbility has improved vastly in this case. Unfortunately, I can't use this hack for production use, since they cause evince to crash more often than not.

Is there a way to backport the needed patch(es) to -updates, or should I file a bug to hardy-backports so the whole 0.8.x is backported?

Revision history for this message
Felipe Figueiredo (philsf) wrote :

Even though it's not critical, I think it's important to fix this for hardy. It's a very bad advertising for an otherwise very good application (evince), and degrades the visibility of Ubuntu in general not to be able to properly handle what is expected to be a simple task, in the view of lay people (and indeed works with other apps).

I decided to try fool evince into using poppler3 from intrepid. Intrepid version compiles fine on Hardy, and I managed to replace them with an ugly hack with symlinks between libpoppler.so.3/libpoppler.so.2 and libpoppler-glib.so.3/libpoppler-glib.so.2. Not surprisingly, it was very unstable, and evince crashed on mouseover actions, so I couldn't select/copy to test for other bugs (bug #33288 for example). But it kind of worked.

I'm attaching a new screenshot of the result. It's still not perfect, the "fi" string still appear as an undefined (to me at least) ascii character (look for the first sentence in the abstract: "We describe a unified ...". Also appear in the last two of the abstract). Even so, readbility has improved vastly in this case. Unfortunately, I can't use this hack for production use, since they cause evince to crash more often than not.

Is there a way to backport the needed patch(es) to -updates, or should I file a bug to hardy-backports so the whole 0.8.x is backported?

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

it's fixed upstream, but is not in the hardy package though, it's not a high priority bug and this can wait till intrepid.

Changed in poppler:
assignee: nobody → desktop-bugs
status: Triaged → Fix Committed
Revision history for this message
In , Felipe Figueiredo (philsf) wrote :

From the ubuntu bug report:

"I decided to try fool evince into using poppler3 from intrepid. Intrepid version compiles fine on Hardy, and I managed to replace them with an ugly hack with symlinks between libpoppler.so.3/libpoppler.so.2 and libpoppler-glib.so.3/libpoppler-glib.so.2. Not surprisingly, it was very unstable, and evince crashed on mouseover actions, so I couldn't select/copy to test for other bugs (bug #33288 for example). But it kind of worked.

I'm attaching a new screenshot of the result. It's still not perfect, the "fi" string still appear as an undefined (to me at least) ascii character (look for the first sentence in the abstract: "We describe a unified ...". Also appear in the last two of the abstract). Even so, readbility has improved vastly in this case. Unfortunately, I can't use this hack for production use, since they cause evince to crash more often than not."

http://launchpadlibrarian.net/15681507/Screenshot-097561u480.png

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

the new version is in intrepid

Changed in poppler:
status: Fix Committed → Fix Released
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.

Other bug subscribers

Related questions

Remote bug watches

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