<div class="gmail_quote">Package: evince<br>Version: 2.24.2-2<br>File: /usr/bin/evince<br>Severity: important<br><br>*** Please type your report below this line ***<br>
<br>I am not sure this is logged in the right place, it might belong against poppler. I can't see any duplicate bugs, but apologies if so, I don't know what I am doing.<br><br>So, many PDFs render fine for me, but some produce terribly blocky text. I don't have any examples that I can redistribute, but any journal article downloaded from <a href="http://www.jstor.org" target="_blank">www.jstor.org</a> seems to exhibit the problem.<br>
<br>I have have done some research to try and figure out what is going on. The following bug reports against ubuntu and arch-linux seem to repeat what I see, and suggest it is to do with a conflict between application anti-aliasing and freetype autohinting when pdfs include embedded fonts, and that some packages (poppler derived) don't use fontconfig and so a simple dpkg-reconfigure fontconfig-config is not enough. See:<br>
<br><a href="https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/48146" target="_blank">https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/48146</a><br><a href="http://groups.google.cl/group/arch-linux/browse_thread/thread/5402873a6e65c151" target="_blank">http://groups.google.cl/group/arch-linux/browse_thread/thread/5402873a6e65c151</a><br>
<br>A patch is suggested in the ubuntu thread (against poppler) that disables freetype autohinting at compile time. I have not tried applying and recompiling for a range of reasons not worth exploring. It is as follows:<br>
<br>--- poppler-0.6.4/splash/SplashFTFont.cc.-hinting 2008-01-21 22:59:14.000000000 +0300<br>+++ poppler-0.6.4/splash/SplashFTFont.cc 2008-12-18 17:21:04.000000000 +0300<br>@@ -180,7 +180,7 @@<br> }<br> <br> // if we have the FT2 bytecode interpreter, autohinting won't be used<br>
-#ifdef TT_CONFIG_OPTION_BYTECODE_INTERPRETER<br>+#if 0<br> if (FT_Load_Glyph(ff->face, gid,<br> aa ? FT_LOAD_NO_BITMAP : FT_LOAD_DEFAULT)) {<br> return gFalse;<br><br>Does this mean anything to anyone?<br>
<br>Thanks.<br><br>-- System Information:<br>Debian Release: squeeze/sid<br> APT prefers unstable<br> APT policy: (990, 'unstable'), (1, 'experimental')<br>Architecture: i386 (i686)<br><br>Kernel: Linux 2.6.29.1-jem (PREEMPT)<br>
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)<br>Shell: /bin/sh linked to /bin/bash<br><br>Versions of packages evince depends on:<br>ii gconf2 2.26.2-1 GNOME configuration database syste<br>
ii gnome-icon-theme 2.26.0-1 GNOME Desktop icon theme<br>ii libatk1.0-0 1.26.0-1 The ATK accessibility toolkit<br>ii libc6 2.9-14 GNU C Library: Shared libraries<br>
ii libcairo2 1.8.6-2+b1 The Cairo 2D vector graphics libra<br>ii libdbus-1-3 1.2.14-2 simple interprocess messaging syst<br>ii libdbus-glib-1-2 0.80-4 simple interprocess messaging syst<br>
ii libdjvulibre21 3.5.21-3 Runtime support for the DjVu image<br>ii libfontconfig1 2.6.0-4 generic font configuration library<br>ii libfreetype6 2.3.9-5 FreeType 2 font engine, shared lib<br>
ii libgcc1 1:4.4.0-6 GCC support library<br>ii libgconf2-4 2.26.2-1 GNOME configuration database syste<br>ii libglade2-0 1:2.6.4-1 library to load .glade files at ru<br>
ii libglib2.0-0 2.20.3-1 The GLib library of C routines<br>ii libgnome-keyring0 2.26.1-1 GNOME keyring services library<br>ii libgtk2.0-0 2.16.2-1 The GTK+ graphical user interface <br>
ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library<br>ii libkpathsea4 2007.dfsg.2-5 TeX Live: path search library for <br>ii libpango1.0-0 1.24.2-1 Layout and rendering of internatio<br>
ii libpoppler-glib4 0.10.4-3 PDF rendering library (GLib-based <br>ii libsm6 2:1.1.0-2 X11 Session Management library<br>ii libspectre1 0.2.2.ds-1+b1 Library for rendering Postscript d<br>
ii libstdc++6 4.4.0-6 The GNU Standard C++ Library v3<br>ii libtiff4 3.8.2-11 Tag Image File Format (TIFF) libra<br>ii libx11-6 2:1.2.1-1 X11 client-side library<br>
ii libxml2 2.7.3.dfsg-1 GNOME XML library<br>ii shared-mime-info 0.60-2 FreeDesktop.org shared MIME databa<br>ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime<br>
<br>Versions of packages evince recommends:<br>ii dbus-x11 1.2.14-2 simple interprocess messaging syst<br>ii gvfs 1.2.3-1 userspace virtual filesystem - ser<br><br>Versions of packages evince suggests:<br>
ii nautilus 2.26.3-1 file manager and graphical shell f<br>pn poppler-data <none> (no description available)<br>pn unrar <none> (no description available)<br>
<br>-- no debconf information<br><br>
<br></div><br>