← Back to team overview

desktop-packages team mailing list archive

[Bug 793122] Re: "some font thing failed", failed to load truetype font - important data silently left out

 

I have this problem with a publicly available PDF:

http://www.prasa.com/Documents/StockRenewal/5-1-MetrorailUserRequirementSpecification.pdf

but I don't get errors about "bad table definitions."  Instead I see
errors about being unable to load local fonts:

Error: Cannot open '/home/lx/.fonts/arial.ttf'
Error: failed to load truetype font

some font thing failed
...
Error: Cannot open '/home/lx/.fonts/arialbd.ttf'
Error: failed to load truetype font

some font thing failed

$ ls -l /home/lx/.fonts/arial{,bd}.ttf
-rw-r--r-- 1 lx root 352224 2007-11-13 17:50 /home/lx/.fonts/arialbd.ttf
-rw-r--r-- 1 lx root 367112 2007-11-13 17:50 /home/lx/.fonts/arial.ttf

Both fonts open as expected in the font viewer.

The attached screen shot shows how the file renders.  The UI itself
reports no errors.

** Attachment added: "evince-text-not-visible.png"
   https://bugs.launchpad.net/ubuntu/+source/evince/+bug/793122/+attachment/2624046/+files/evince-text-not-visible.png

** Changed in: evince (Ubuntu)
       Status: Incomplete => New

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

Title:
  "some font thing failed", failed to load truetype font - important
  data silently left out

Status in “evince” package in Ubuntu:
  New

Bug description:
  Binary package hint: evince

  I noticed that a PDF file I received from my accountant was
  surprisingly missing some important data when viewed in Evince, so I
  started Evince from the command line. I got an almost endless number
  of error messages:

  Error: PDF file is damaged - attempting to reconstruct xref table...
  Error: Found a bad table definition on true type definition, trying to continue...
  Error: Found a bad table definition on true type definition, trying to continue...
  Error: failed to load truetype font

  some font thing failed
  Error: Found a bad table definition on true type definition, trying to continue...
  Error: Found a bad table definition on true type definition, trying to continue...
  Error: failed to load truetype font

  I must say I'm utterly disgusted with Evince not displaying anything
  at all when encountering a font problem. Why not fall back to an
  existing font instead of silently suppressing the error?

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: evince 2.32.0-0ubuntu1.1
  ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
  Uname: Linux 2.6.35-28-generic x86_64
  Architecture: amd64
  Date: Sun Jun  5 14:13:16 2011
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  KernLog:
   
  SourcePackage: evince

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/793122/+subscriptions