[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
** Changed in: poppler Status: Confirmed => Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/26118 Title: Bad rendering (hinting) in Evince and Xpdf To manage notifications about this bug go to: https://bugs.launchpad.net/poppler/+bug/26118/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
** Changed in: poppler Importance: Unknown = Medium -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/26118 Title: Bad rendering (hinting) in Evince and Xpdf -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
** Changed in: poppler Importance: Medium = Unknown -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. https://bugs.launchpad.net/bugs/26118 Title: Bad rendering (hinting) in Evince and Xpdf -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
The file in comment #25 renders well in Ubuntu 10.10 Maverick Meerkat alpha 2 updated to the latest Ubuntu packages. Uname: Linux 2.6.35-6-generic i686 Packages: evince 2.30.3-1ubuntu2 poppler 0.14.1-0ubuntu1 libcairo2 1.9.14-1 -- Bad rendering (hinting) in Evince and Xpdf https://bugs.launchpad.net/bugs/26118 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
Will we see this fixed anytime soon? Depends if somebody work on the issue -- Bad rendering (hinting) in Evince and Xpdf https://bugs.launchpad.net/bugs/26118 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
Will we see this fixed anytime soon? -- Bad rendering (hinting) in Evince and Xpdf https://bugs.launchpad.net/bugs/26118 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
Is this solved at all? As of today, I still see some pdf files -but not others (how to tell the difference?) rendering improperly in evince. When the text is selected, the text is suddenly smooth and nice; when deselected, it's all sketchy and rough. Also, many equations and punctuation chars disappear when selecting text (an entirely different bug, I assume). None of the above exist in kpdf. Only evince. -- Bad rendering (hinting) in Evince and Xpdf https://bugs.launchpad.net/bugs/26118 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
Thanks Peter. I've reposted my info there. -- Bad rendering (hinting) in Evince and Xpdf https://bugs.launchpad.net/bugs/26118 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
Bug 92296 seems to be the bug you're looking for. -- Bad rendering (hinting) in Evince and Xpdf https://bugs.launchpad.net/bugs/26118 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
** Changed in: poppler (Ubuntu) Status: Confirmed = Triaged -- Bad rendering (hinting) in Evince and Xpdf https://bugs.launchpad.net/bugs/26118 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
@Marciano Siniscalchi Thank you for your comment. Do you/does anyone know if there is another bug filed for that Type 3 fonts rendering issue? -- Bad rendering (hinting) in Evince and Xpdf https://bugs.launchpad.net/bugs/26118 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
Same problem here, bad rendering for (most) PDF files on Evince which work well on acroread, kpdf, gv, etc. Btw I'm using a Feisty machine (Breezy-Dapper-Edgy-Feisty upgrade). PS, DVI files work fine. -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
I don't know if this is related, but I'm also seeing absolutely atrocious font rendering with some PDF files in evince. gpdf renders the same PDFs much better, but appears to use different fonts and ignore settings such as bold. Please see the following two screenshot for comparison. Yes, this is the same document, in evince and in gpdf on Ubuntu 6.10. ** Attachment added: Evince pdf screenshot http://librarian.launchpad.net/7035137/Screenshot.evince.png -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
** Attachment added: gPDF pdf screenshot http://librarian.launchpad.net/7035138/Screenshot.gpdf.png -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
This is the actual PDF file the above screenshots were taken with. ** Attachment added: PDF file that is rendered badly in evince (and gPDF is not too great either) http://librarian.launchpad.net/7035319/18280.pdf -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
It's not the same bug. The document you attached uses Type 3 fonts, which in theory are drawn using Postscript (not PDF) primitives, but in practice are just bitmaps. Ghostview and Acrobad do a fine job with these, but poppler-based readers don't handle them well at all. The issue being discussed here only pertains to Type 1 fonts. So, unfortunately, I'm afraid your best bet for non-atrocious rendering is Acroread (yech!) M On 3/28/07, Jens Ropers [EMAIL PROTECTED] wrote: I don't know if this is related, but I'm also seeing absolutely atrocious font rendering with some PDF files in evince. gpdf renders the same PDFs much better, but appears to use different fonts and ignore settings such as bold. Please see the following two screenshot for comparison. Yes, this is the same document, in evince and in gpdf on Ubuntu 6.10. ** Attachment added: Evince pdf screenshot http://librarian.launchpad.net/7035137/Screenshot.evince.png -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- Marciano Siniscalchi -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
I see a lot better rendering now. I don't see any relevant entries in the poppler changelog though, so maybe it's something local. -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
For the record, the fix that works for me is to change the #ifdef...#else...#endif block beginning at line 179 of file SplashFTFont.cc as follows: // if we have the FT2 bytecode interpreter, autohinting won't be used // MS: actually, disregard bytecode setting, as it yields poor results anyway // #ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER // if (FT_Load_Glyph(ff-face, gid, // aa ? FT_LOAD_NO_BITMAP : FT_LOAD_DEFAULT)) { //return gFalse; // } //#else // FT2's autohinting doesn't always work very well (especially with // font subsets), so turn it off if anti-aliasing is enabled; if // anti-aliasing is disabled, this seems to be a tossup - some fonts // look better with hinting, some without, so leave hinting on if (FT_Load_Glyph(ff-face, gid, aa ? FT_LOAD_NO_HINTING | FT_LOAD_NO_BITMAP : FT_LOAD_DEFAULT)) { return gFalse; } //#endif [sorry if I don't generate a patch---I still haven't learned how to do so...] In other words, I force autohinting off if anti-aliasing is enabled, regardless of whether or not Freetype was compiled with the bytecode interpreted on (which, in Ubuntu, it is). Notice that this compile-time checking that poppler does explains why this bug is hard to trace. Even if you recompile Freetype without the BC on, it still won't matter, as poppler is compiled against the standard Ubuntu distribution with BC enabled. M -- Marciano Siniscalchi -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
Sorry, my fix was bogus. I checked the results with a TeXmacs-produced PDF, which apparently includes different fonts than what e.g. pdfetex does. The TeXmacs fonts look fine. (I wonder why.) -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
Re: [Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
Yes, I did exactly the same, and it works (except that it needs to be redone every time poppler gets updated...) Is there any chance of getting the fix incorporated? M On 2/25/07, Pauli Virtanen [EMAIL PROTECTED] wrote: I was unable to fix the rendering in evince by tweaking those fontconfig-config options. For me, so far only modifying SplashFTFont.cc and recompiling has improved the rendering. The problem is worst at small font sizes (attachment). ** Attachment added: Bad hinting at small font sizes http://librarian.launchpad.net/6527474/evince-bad-hinting.png -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- Marciano Siniscalchi -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
I was unable to fix the rendering in evince by tweaking those fontconfig-config options. For me, so far only modifying SplashFTFont.cc and recompiling has improved the rendering. The problem is worst at small font sizes (attachment). ** Attachment added: Bad hinting at small font sizes http://librarian.launchpad.net/6527474/evince-bad-hinting.png -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
Please specify which crufty config. I am running on feisty, and the following: dpkg --force-depends --purge fontconfig-config rm -rf /etc/fonts apt-get -f install fontconfig-config rm -rf $HOME/.font* did not fix the problem for me. -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
That's what I did, additionally running dpkg-reconfigure fontconfig- config to make sure the hinter type is native instead of autohinter. -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
I had some crufty config enabling the freetype autohinter. Cleaning that up fixed this bug for me. -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
I've forwarded that upstream: https://bugs.freedesktop.org/show_bug.cgi?id=9862 ** Changed in: poppler (upstream) Importance: Undecided = Unknown Bugwatch: None = Freedesktop Bugzilla #9862 Status: Unconfirmed = Unknown -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
** Changed in: poppler (upstream) Status: Unknown = Confirmed -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
** Changed in: evince (Ubuntu) Sourcepackagename: evince = poppler Assignee: Sebastien Bacher = Ubuntu Desktop Bugs ** Also affects: poppler (upstream) Importance: Undecided Status: Unconfirmed -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf
FWIW, I still see bad rendering of serif fonts in Evince on Feisty. -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 26118] Re: Bad rendering (hinting) in Evince and Xpdf [FIX!]
I think I nailed it! First of all, the exact same issue arises in Edgy, which is what I am using now. However, it's easy to fix. Second, it's a poppler problem, not an Evince problem per se. See file splash/SplashFTFont.cc in poppler-0.5.4 (the Edgy version), lines 180 and following. This is where poppler loads glyphs for the splash output device; this code comes from xpdf, btw. Basically, there is a compile-time check to see whether freetype has the bytecode interpreter enabled; if so, IT IS USED regardless of whether anti-aliasing is on or off. Otherwise, no hinting is used if anti-aliasing is on. Again, this is a compile-time check. The problem is that, for most fonts used with LaTeX (but I'd say for most other fonts, too) it's best to omit hinting altogether. I fixed the problem by simply deleting the portion of the code that is triggered if TT_CONFIG_OPTION_BYTECODE is defined, and instead leaving only the section that is compiled if it is not. Rebuilding with pdebuild and installing with dpkg -i did the trick. Ideally, this should be a gconf setting, I guess. Hope this helps, M ** Attachment added: Modified splash/SplashFTFont.cc from poppler-0.5.4 http://librarian.launchpad.net/4941174/SplashFTFont.cc -- Bad rendering (hinting) in Evince and Xpdf https://launchpad.net/bugs/26118 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs