Bug 79020

Summary: Error loading fonts (tex-gyre/texgyreheros-regular)
Product: poppler Reporter: Michel Desmarais <michel.desmarais>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Michel Desmarais 2014-05-21 14:17:51 UTC
Transferred from:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1311912
and then from:
https://bugzilla.gnome.org/show_bug.cgi?id=730513

Description:

    PDF Rendering problem with evince Edit
    Ubuntu “evince” package Bugs Bug #1311912

    Upgraded to Ubuntu 14.04 and fond that evince cannot find or read some fonts.

    Syntax Error: failed to load truetype font<0a>
    some font thing failed
    I/O Error: Cannot open
    '/usr/local/texlive/2013/texmf-dist/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf'
    Syntax Error: failed to load truetype font<0a>
    some font thing failed

    evince 3.10.3

Answer from gnome bugzilla forum:

    José Aliste [evince developer] 2014-05-21 13:49:53 UTC
    Thanks for taking the time to report this bug.

    This is no Evince Bug. It looks like poppler can't access to this font, but
    normally this means that the font is nos properly installed, which would be a
    distribution bug. So in summary, first make sure the font is correctly
    installed and if so, then file a bug in poppler's bugzilla.


Update:

It looks properly installed according to what I get from this shell prompt excerpt as a normal user:
  $ ls -l /usr/local/texlive/2013/texmf-dist/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf
  -rw-rw-r-- 1 root root 133600 Nov  3  2009 /usr/local/texlive/2013/texmf-dist/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf
  $ wc /usr/local/texlive/2013/texmf-dist/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf
    2160   2926 133600 /usr/local/texlive/2013/texmf-dist/fonts/opentype/public/tex-gyre/texgyreheros-regular.otf
  $ 

I also tried replacing this file with fonts found on www.fontspace.com/gust-e-foundry/texgyreheros and got the same problem.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.