pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: www/firefox3: font rendering regression with 3.0.9



Holger Weiss --> pkgsrc-users (2009-04-30 00:33:20 +0200):
> * Jukka Salmi <j+nbsd%2009.salmi.ch@localhost> [2009-04-29 10:37]:
[...]
> > Uh, firefox links against both builtin (I'm using XFree86 built from
> > HEAD xsrc) and pkgsrc freetype2:
> >
> > $ ldd /usr/pkg/lib/firefox3/firefox-bin | grep freetype
> >         -lfreetype.6 => /usr/pkg/lib/libfreetype.so.6
> >         -lfreetype.9 => /usr/X11R6/lib/libfreetype.so.9
> 
> Same here, and this is also true for another few libraries.  AFAICS, the
> problem is actually Fontconfig:
> 
> $ ldd /usr/pkg/lib/firefox3/firefox-bin | grep fontconfig
>         -lfontconfig.1 => /usr/pkg/lib/libfontconfig.so.1
>         -lfontconfig.1 => /usr/X11R6/lib/libfontconfig.so.1
> 
> Forcing Firefox not to link against the Fontconfig version from XFree86
> fixed the problem for me.

Indeed, after modifying /usr/X11R6/lib/libfontconfig.so.1 to point to
/usr/pkg/lib/libfontconfig.so.1.3.0 fonts are rendered nicely as before.
Thanks for the hint!

BTW, how did you manage not to link firefox against the XFree86
libfontconfig?  Did you modify firefox's rpath?  If so, how?


Regards, Jukka

-- 
This email fills a much-needed gap in the archives.


Home | Main Index | Thread Index | Old Index