← Back to team overview

desktop-packages team mailing list archive

[Bug 1396048] Re: Evince misses font and only displays squares in menus

 

mrs sheep, your kernel logs indicate AppArmor is blocking attempts to
load fonts located in /home/mrssheep/Documents/SystemFonts/truetype
/ubuntu-font-family/

The ttf-ubuntu-font-family package installs fonts into the directory
/usr/share/fonts/truetype/ubuntu-font-family/

It's possible you've got symlinks from /usr/share/fonts or
/usr/share/fonts/truetype to your home directory.

You could either add /home/mrssheep/Document/SystemFonts/** to the
/etc/apparmor.d/abstractions/font file or add an entry:

alias /usr/share/fonts/truetype/ -> /home/mrssheep/Documents/SystemFonts/truetype/
to the /etc/apparmor.d/tunables/alias file

(I'd pick the first if you copied the files, I'd pick the second if you
configured a symbolic link.)

After either change you'll need to reload the profiles; easiest is to
reboot, but you can also run sudo service apparmor restart

Thanks

** Changed in: evince (Ubuntu)
       Status: Confirmed => Invalid

-- 
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/1396048

Title:
  Evince misses font and only displays squares in menus

Status in evince package in Ubuntu:
  Invalid

Bug description:
  Evince misses some font and only displays squares in menus, text is
  displayed okay, screenshot attached.

  Console:
  $ evince

  (evince:8959): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'Ubuntu 11'

  (evince:8959): Pango-WARNING **: font_face status is: out of memory

  (evince:8959): Pango-WARNING **: scaled_font status is: out of memory

  (evince:8959): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='Ubuntu 11', text='●'

  (evince:8959): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'Ubuntu 11'

  (evince:8959): Pango-WARNING **: font_face status is: out of memory

  (evince:8959): Pango-WARNING **: scaled_font status is: out of memory

  (evince:8959): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'Ubuntu 15.83984375'

  (evince:8959): Pango-WARNING **: font_face status is: out of memory

  (evince:8959): Pango-WARNING **: scaled_font status is: out of memory

  (evince:8959): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='Ubuntu 15.83984375', text='This
  document is locked and can only be read by entering the correct
  password.'

  (evince:8959): Gtk-CRITICAL **: gtk_widget_hide: assertion
  'GTK_IS_WIDGET (widget)' failed

  (evince:8959): Gtk-CRITICAL **: gtk_widget_hide: assertion
  'GTK_IS_WIDGET (widget)' failed

  (evince:8959): Gtk-CRITICAL **: gtk_widget_show: assertion
  'GTK_IS_WIDGET (widget)' failed

  (evince:8959): Gtk-CRITICAL **: gtk_widget_show: assertion
  'GTK_IS_WIDGET (widget)' failed

  (evince:8959): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'Ubuntu Italic
  13.1982421875'

  (evince:8959): Pango-WARNING **: font_face status is: out of memory

  (evince:8959): Pango-WARNING **: scaled_font status is: out of memory

  (evince:8959): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='Ubuntu Italic 13.1982421875',
  text='Loading…'

  (evince:8959): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'Ubuntu Italic 11'

  (evince:8959): Pango-WARNING **: font_face status is: out of memory

  (evince:8959): Pango-WARNING **: scaled_font status is: out of memory

  (evince:8959): Pango-WARNING **: failed to create cairo scaled font,
  expect ugly output. the offending font is 'Ubuntu Italic 11'

  (evince:8959): Pango-WARNING **: font_face status is: out of memory

  (evince:8959): Pango-WARNING **: scaled_font status is: out of memory

  (evince:8959): Pango-WARNING **: shaping failure, expect ugly output.
  shape-engine='BasicEngineFc', font='Ubuntu Italic 11', text='The quick
  brown fox jumps over the lazy dog.'

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: evince 3.14.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
  Uname: Linux 3.16.0-24-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Nov 25 10:23:21 2014
  ExecutablePath: /usr/bin/evince
  InstallationDate: Installed on 2013-09-08 (442 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  SourcePackage: evince
  UpgradeStatus: Upgraded to utopic on 2014-10-24 (32 days ago)

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


References