[Bug 888789] Re: evince doesn't render embedded font
Thanks Scott for the feedback. This rule: /usr/local/texlive/2013/texmf-dist/fonts/** r, is not really something we'll add to the shipped profile because it is site specific. However, this rule can be added to /etc/apparmor.d/local/usr.bin.evince, which is intended for site- specific modifications to the profile.. Updating this file instead of /etc/apparmor.d/usr.bin.evince also means you will not have upgrade prompts and your changes will be preferred across upgrades. ** Changed in: evince (Ubuntu) Status: Confirmed = Won't Fix -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
I can reproduce this bug by trying to open the pdf failing.pdf (posted earlier). Note that it appears fine to my eyes but the error messages to STDERR and the apparmor entries in kern.log show that there is a problem. It must be that the problem font is just not used in many parts of this particular PDF. In another document, I can see no text. I cannot upload it because of private information. Adding the line /usr/local/texlive/2013/texmf-dist/fonts/** r, to the /usr/bin/evince block solves the problem. I can reproduce starting from a fresh install of Ubuntu 13.10 with the following: sudo apt-get install git git clone https://github.com/scottkosty/install-tl-ubuntu cd install-tl-ubuntu sudo ./install-tl-ubuntu # restart computer evince failing.pdf Note that ./install-tl-ubuntu could take an hour or so to install. But I just wanted to give a way to reproduce from a fresh install in case someone looks here. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: evince (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
With my document (a tax document I'd rather not share), evince fails to render the text, showing various odd lines, shadings, etc. in place of the text. I *think* xpdf renders it correctly for about 3 seconds, and then crashes. For the few seconds I see it, it appears correct. Adobe Acrobat Reader (acroread) has no problem with it on a 32-bit system, but I really don't want to clutter my 64-bit system with all of the 32-bit libraries for a single application. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
I don't know whose problem it is, but by adding this line in /etc/apparmor.d/usr.bin.evince, in section for /usr/bin/evince, it seems to be solved. Of course, you need to replace the directory with the one containing your files... # Fonts, stow, WTF??? nickie /usr/local/stow/win-ttf/share/fonts/** r, -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
Thanks Dennis. Your changes indicate that apparmor is not the main problem (though it was certainly blocking you at first :). Unassigning myself so someone from the desktop team can take over. ** Tags removed: apparmor ** Changed in: evince (Ubuntu) Status: Incomplete = New ** Changed in: evince (Ubuntu) Assignee: Jamie Strandboge (jdstrand) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
I did as you suggested (the file was indeed all comments), but it didn't remedy the problem. I still can't see the body fonts in the failing pdf. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
Dennis, can you post your /var/log/kern.log after making the change? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
Sure, here it is. I've clipped the less relevant parts. ** Attachment added: kern.log parts after editing apparmor settings https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+attachment/2693740/+files/kern.log -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
This may be related to apparmor. What are the contents of /etc/apparmor.d/tunables/home.d/ubuntu? If it is all comments, can you update it to have: @{HOMEDIRS}+=/private/home/ Then perform: $ sudo /etc/init.d/apparmor force-reload ** Changed in: evince (Ubuntu) Status: New = Incomplete ** Changed in: evince (Ubuntu) Assignee: (unassigned) = Jamie Strandboge (jdstrand) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
** Attachment added: stderr of evince when opening the pdf document https://bugs.launchpad.net/bugs/888789/+attachment/2592526/+files/evince.log -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 888789] Re: evince doesn't render embedded font
Attached is the document that fails to render. I've observed the same issue with evince on Ubuntu 10.04. ** Attachment added: a pdf document failing to render correctly in evince https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+attachment/2592530/+files/failing.pdf -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to evince in Ubuntu. https://bugs.launchpad.net/bugs/888789 Title: evince doesn't render embedded font To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/888789/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs