The bug is in fontconfig.

Fontconfig added the Gyre font names to the list of suitable
replacements for the base PostScript fonts because the shapes and
metrics are compatible.

What they didn’t notice (until the bug reports started) is that the Gyre
authors use the names /f_i, /f_l, /f_f, /f_f_i and /f_f_l for the
f-ligs, whereas the original PS fonts — which predate the current glyph
name best practices — used the names /fi, /fl.

When rendering a pdf file which uses fonts but does not embed them or
embed subsets of them, the renderer needs to find a substitute.  If
fontconfig is used to find such a substitute, and it returns a font
which lacks the glyph names said renderer wants — even if it has the
glyphs under a different name ­— the desired glyph will not get painted.

Ideally, renderers would notice that the glyph name they want is
unavailable and look for alternate names.  Or in the case of a known
ligature fall back to the un-ligated glyphs.  But that hasn’t been
written.

The quick fix is to limit font equivilents to those which also have the
same glyph naming scheme.

Fontconfig did that in commit c6aa4d4bfc, in responce to the freedesktop
bug report noted above.

Distributions should make the same change in their fontconfig packaging.


Distributions should do the same.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to tex-gyre in Ubuntu.
https://bugs.launchpad.net/bugs/1317599

Title:
  Evince doesn't show "fi"-ligatures in a pdf file

Status in “tex-gyre” package in Ubuntu:
  Confirmed

Bug description:
  When I open the attached pdf file, evince doesn't show the
  "fi"-ligatures, e.g. on page 17 I only see "Preface to the   rst
  edition".

  But when I mark text and copy it, the "fi" is also in there. Also
  printing works fine.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: evince 3.10.3-0ubuntu10
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu May  8 18:54:09 2014
  ExecutablePath: /usr/bin/evince
  InstallationDate: Installed on 2012-09-03 (612 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  SourcePackage: evince
  UpgradeStatus: Upgraded to trusty on 2014-04-18 (20 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tex-gyre/+bug/1317599/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to