El lun, 14-04-2008 a las 20:45 +0200, Mattias Nissler escribió: > Hi Carlos! > > On Sat, 2008-04-12 at 11:35 +0200, Carlos Garcia Campos wrote: > > So, how can we reproduce the problem? I don't understand why is only > > reproducible when testing against development tree. > > Ok, let me elaborate: The problem only shows up if evince actually > renders the characters directly using t1lib. This only happens if it can > find the font files. For locating these files, the mdvi-lib contained in > evince uses the kpathsea library. The search path that kpathsea will use > depends on where the program is installed, what paths are passed > to ./configure, environment variables etc. Now what happened here was > that I had passed a different --prefix to ./configure in order to > prevent make install from overwriting my system evince installation. > However, the kpathsea searchpath now didn't include the paths where my > t1 fonts (actually part of the texlive installation) are stored. This > resulted in kpathsea failing to locate the fonts, mdvi-lib falling back > to the bitmap versions of the fonts. Thus, the problem didn't show up. > > A good way to check what's going on is to set KPATHSEA_DEBUG=-1 in the > environment. Kpathsea will then print debug output on stderr listing all > the paths it considers. For example, the evince compiled from my > development tree outputs the line > > ... > kdebug:start search(files=[cmssbx10.pfa cmssbx10.pfb cmssbx10], must_exist=0, find_all=0, path=.:/home/mattias/.texmf-config/fonts/type1//:/home/mattias/.texmf-var/fonts/type1//:/home/mattias/texmf/fonts/type1//:!!/home/mattias/local/etc/texmf/fonts/type1//:!!/home/mattias/local/var/lib/texmf/fonts/type1//:!!/home/mattias/local/evince/share/texmf/fonts/type1//:!!/home/mattias/local/evince/local/share/texmf/fonts/type1//:!!/home/mattias/local/evince/share/texmf-site/fonts/type1//:!!/home/mattias/local/evince/share/texmf-dist/fonts/type1//:/please/set/osfontdir/in/the/environment//). > ... > > The cmssbx10 file cannot be found in any of these directories. However, > if I set OSFONTDIR=/usr/share/texmf/fonts/type1, the cmssbx10.pfb file > is found and evince will render the characters directly through t1lib. > This time, the bug strikes. > > I hope this explanation gives you enough information to understand and > reproduce the bug. Yes, absolutely :-) > > > > The patch doesn't apply correctly to current svn trunk. Could you update > > the patch, please? Ah!, and please send it attached to the mail instead > > of inline, so that it's easier to save and apply :-) > > I've just checked again, the patch applies without problems against rev > 3004. I have now attached it for your convenience. Thank you very much, I've just applied it to svn trunk. > Mattias -- Carlos Garcia Campos elkalmail yahoo es carlosgc gnome org http://carlosgc.linups.org PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente