Nearly all the AppArmor rules provided by upstream AppArmor include
'owner' prefixes on files and directories within user home directories.
This is intentional -- for example, the <abstractions/fonts> file
includes:

  owner @{HOME}/.fonts.conf             r,
  owner @{HOME}/.fonts/                 r,
  owner @{HOME}/.fonts/**               r,
  owner @{HOME}/.local/share/fonts/     r,
  owner @{HOME}/.local/share/fonts/**   r,
  owner @{HOME}/.fonts.cache-2          mr,
  owner @{HOME}/.{,cache/}fontconfig/   r,
  owner @{HOME}/.{,cache/}fontconfig/** mrl,
  owner @{HOME}/.fonts.conf.d/          r,
  owner @{HOME}/.fonts.conf.d/**        r,
  owner @{HOME}/.config/fontconfig/     r,
  owner @{HOME}/.config/fontconfig/**   r,

  /usr/local/share/fonts/               r,
  /usr/local/share/fonts/**             r,

Whoever owns the fonts in your ~/.fonts/ directory can probably gain
execution privileges by whatever program is rendering the fonts.

You could store your fonts in /usr/local/share/fonts/ if they are
appropriate for multiple users on the system.

Or you could amend /etc/apparmor.d/local/usr.bin.evince if you want
these fonts to be available to evince without storing them in
/usr/local/share/fonts/.

Thanks

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

Title:
  Evince fails to display some fonts (some font thing failed)

Status in evince package in Ubuntu:
  Invalid

Bug description:
  Dear experts,

  Since the upgrade to Ubuntu 15.04, evince fails to display some fonts
  of most of my latex pdfs. I attached an example of the pdf rendered by
  evince, and a screenshot of what it's supposed to look like. The
  console is spammed with errors:

  'some font thing failed'

  The pdf display correctly with xpdf and  okular.

  Thanks

  Description:  Ubuntu 15.04
  Release:      15.04
  evince:
    Installed: 3.14.2-0ubuntu2
    Candidate: 3.14.2-0ubuntu2
    Version table:
   *** 3.14.2-0ubuntu2 0
          500 http://ftp.belnet.be/ubuntu.com/ubuntu/ vivid/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: evince 3.14.2-0ubuntu2
  ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
  Uname: Linux 3.19.0-15-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Apr 26 23:15:02 2015
  SourcePackage: evince
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1448778/+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