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



On Tue 28 Apr 2009 at 23:39:06 +0200, Jukka Salmi wrote:
> after updating www/firefox3 from 3.0.7 to 3.0.9 on a NetBSD/i386 current
> system I noticed a font rendering regression; e.g. the NetBSD home page
> used to look like [1]this, but now looks like [2]this.

I have firefox3-3.0.5nb2 still, and I see the same thing already. I
think even since a couple of versions.

$ 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

In case it makes a difference, I have tried to enable subpixel rendering
on the pkgsrc freetype, but I have never seen any visible effect. Maybe
this *is* the effect...

PKG_OPTIONS.freetype2 += truetype subpixel

and in my /etc/fonts/local.conf:

<!--
  Enable sub-pixel rendering
                <edit name="rgba" mode="assign"><const>rgb</const></edit>
  none, rgb, bgr, vrgb, vbgr
  This also seems to be set by xfce-setting-show into the X resources.

  ! GTK2 settings:
  Xft.antialias:  1
  Xft.hinting:    1
  Xft.hintstyle:  hintfull
  Xft.rgba:       rgb

-->
        <match target="font">
                <test qual="all" name="rgba">
                        <const>unknown</const>
                </test>
                <edit name="rgba" mode="assign"><const>rgb</const></edit>
        </match>
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert    -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl      -- Cetero censeo "authored" delendum esse.


Home | Main Index | Thread Index | Old Index