Bug 158172 - media-libs/t1lib USE flag breaks app-text/evince
Bug#: 158172 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dang@gentoo.org Reported By: pacho@condmat1.ciencias.uniovi.es
Component: Applications
URL:  http://bugzilla.gnome.org/show_bug.cgi?id=536883
Summary: media-libs/t1lib USE flag breaks app-text/evince
Keywords:  
Status Whiteboard: 
Opened: 2006-12-14 14:15 0000
Description:   Opened: 2006-12-14 14:15 0000
When t1lib USE flag is enabled, evince shows ugly fonts on dvi files:
http://i94.photobucket.com/albums/l85/pacho2/Pantallazo.png

But, if this USE flag is disabled, evince shows fonts properly:
http://i94.photobucket.com/albums/l85/pacho2/Pantallazo-1.png

Also, other distros, like Mandriva, compiles evince without t1lib support (may
be because it doesn't work ?).

You can check this with this DVI file:
http://files.myopera.com/pacho/files/informe2.dvi

I am running evince-0.6.1

My emerge --info:
Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4,
2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Thu, 14 Dec 2006 18:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox
sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo
http://ftp.heanet.ie/pub/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://gentoo.intergenia.de/ http://ftp.rhnet.is/pub/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/science
/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 apache2 arts asf audiofile bash-completion
beagle bitmap-fonts bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli
cpdflib cracklib cross crypt cscope cups curl dbus dga divx4linux dlloader dri
dts dvd dvdr dvdread elibc_glibc encode erandom escreen esd evo evolution exif
fam fbcon flac foomaticdb fortran ftp galago gb gcj ggi gif gimp gimpprint
glitz glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal
iconv idn imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog
ithreads jabber jack java jpeg kde kdeenablefinal kdehiddenvisibility
kernel_linux latex lcms libg++ libnotify linguas_en_US linguas_es logrotate mad
madwifi mikmod mime mng mono motif mp3 mpeg mpi mplayer musepack musicbrainz
nas nautilus ncurses nethack network nls nocardbus nptl nptlonly nvidia ogg
oggvorbis openal opengl oss pam pcre pdf perl pic plotutils png posix ppds pppd
python qt3 qt4 quicktime readline reflection rtc ruby scanner sdl seamonkey
session slang slp sockets spell spl ssl svg sysvipc tcltk tcpd tetex theora
threads tiff timidity tk totem trayicon truetype truetype-fonts type1-fonts
udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fbdev video_cards_nv
video_cards_nvidia video_cards_vesa video_cards_vga videos vim vorbis wma wmf
xcomposite xine xml xml2 xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS


Thanks a lot

------- Comment #1 From Daniel Gryniewicz 2006-12-17 08:09:49 0000 -------
evince with t1lib displays that dvi file fine here; which t1lib and tetex do
you have?

------- Comment #2 From Pacho Ramos 2006-12-17 11:50:00 0000 -------
I have the following:
app-text/tetex-3.0_p1-r3  USE="X motif tk -Xaw3d -doc -lesstif -neXt"
media-libs/t1lib-5.0.2  USE="X -doc"

Thanks

------- Comment #3 From Daniel Gryniewicz 2007-06-15 20:30:20 0000 -------
Does it still happen with 0.6.1-r3, or even with 0.8.1?

------- Comment #4 From Pacho Ramos 2007-06-15 21:00:14 0000 -------
It also fails :-/

------- Comment #5 From Jakub Moc (RETIRED) 2008-03-20 11:48:04 0000 -------
Dead bug; try w/ 2.20.2 and get back to us if you still have problems.

------- Comment #6 From Pacho Ramos 2008-03-25 13:08:33 0000 -------
(In reply to comment #5)
> Dead bug; try w/ 2.20.2 and get back to us if you still have problems.
> 

Still the same problems

Thanks for the reminder

------- Comment #7 From Peter Volkov 2008-05-05 11:37:50 0000 -------
I've tried evince-2.22.1.1 and t1lib-5.1.2 and failed to reproduce your bug.
Try this versions and if this does not help it's very possible that you have
broken fonts somewhere in your system. Try with new user (to be sure that you
are using system-wide defaults) and after that uninstall/install fonts to see
if that helps...

------- Comment #8 From Gilles Dartiguelongue 2008-06-02 21:41:13 0000 -------
it's failing badly on my machine, t1lib or not, the dvi document makes evince
crash. reported as upstream bug http://bugzilla.gnome.org/536329

------- Comment #9 From Pacho Ramos 2008-06-03 12:09:50 0000 -------
Created an attachment (id=155349) [details]
informe2.dvi

------- Comment #10 From Gilles Dartiguelongue 2008-06-05 20:48:05 0000 -------
filed an upstream bug for this, it seems to be arch related.

------- Comment #11 From Pacho Ramos 2008-06-06 17:25:55 0000 -------
(In reply to comment #10)
> filed an upstream bug for this, it seems to be arch related.
> 

Oh! Thanks a lot! :-D

------- Comment #12 From Pacho Ramos 2008-06-16 19:12:18 0000 -------
Created an attachment (id=157129) [details]
t1lib.patch

This upstream patch fixes this in 2.20 and 2.22 :-)

------- Comment #13 From Pacho Ramos 2008-07-06 17:18:40 0000 -------
If you prefer not fix this in 2.20 feel free to only fix it in 2.22, I can
wait. Thanks

------- Comment #14 From Daniel Gryniewicz 2008-07-07 15:15:58 0000 -------
Fixed in 2.22.2-r1

------- Comment #15 From Pacho Ramos 2008-07-07 15:46:43 0000 -------
Thanks a lot