You are not logged in.

#1 2004-07-12 23:04:29

rex0
Member
Registered: 2004-07-12
Posts: 12

Font problems after installing nptl (two screenshots 70kb)

This is certainly strange, but I've installed nptl and all of my fonts in xfce4, are different.  It seems like they are being antialised too much, but I havn't changed any settings. If I remove all of the ntpl packages and restore the standard ones everything goes back to normal. I've tried the settings from every font related thread I could find with no avail.

If I turn on hinting: everything becomes blurry, if I have just anti-alising on everything is blurry and the fonts are unreadable. If I turn off AA but leave on hinting they are still blurry, and with everything off they are broken and pretty much unreadable.

I know the screenshots arn't the best but it was the only one I had previous  to installing nptl.

ss1.jpg
This shot shows how I'd like things to look. I didn't do anything to the default config here.


ss2.jpg
This shot shows the best I can get right now, but it's still causing eye strain

I've exausted all of my ideas, so any input would be appreciated.

Offline

#2 2004-07-12 23:34:09

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Font problems after installing nptl (two screenshots 70kb)

here is my local.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts.conf file to configure system font access -->
<fontconfig>
         <match target="font">
            <edit name="antialias" mode="assign"><bool>true</bool></edit>
             <edit name="hinting" mode="assign"><bool>true</bool></edit>
         </match>
         <match target="pattern">
                 <edit name="dpi" mode="assign"><double>85</double></edit>
         </match>
         <!--  Dongs  -->

         <alias>
                 <family>serif</family>
                 <prefer>
                         <family>Bitstream Vera Serif</family>
                 </prefer>
         </alias>
         <alias>
                 <family>sans-serif</family>
                 <prefer>
                         <family>Bitstream Vera Sans</family>
                 </prefer>
         </alias>
         <alias>
                 <family>monospace</family>
                 <prefer>
                         <family>Bitstream Vera Sans Mono</family>
                 </prefer>
         </alias>
          <match target="font">
                <edit name="rgba" mode="assign">
                        <const>rgb</const>
                </edit>
        </match>

<dir>/usr/local/share/fonts</dir>
<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir>
</fontconfig>

hopes it helps


arch + gentoo + initng + python = enlisy

Offline

#3 2004-07-13 01:45:14

rex0
Member
Registered: 2004-07-12
Posts: 12

Re: Font problems after installing nptl (two screenshots 70kb)

Unfortunatly it didn't. I tried your config, (leaving it at 85 dpi, adjusting my setttings to 85, and at 96) and still nothing.  I then restored my local.conf (the default, everythting commented out), and my .fonts.conf, just antialias on. After removing nptl and rebooting, everything is back perfectly. Well not perfect, I dont have nptl anymore.

Offline

#4 2004-07-13 21:05:12

rex0
Member
Registered: 2004-07-12
Posts: 12

Re: Font problems after installing nptl (two screenshots 70kb)

Thought I'd post an update incase it sparks ideas for anyone. I've tried the latest development versions of freetype, glib, gtk and pango in combination with nptl. So far nothing fixes the fonts. Using firefox within twm  with nptl+latest+glib+gtk+pango still presents issues. I dont think it's an xfce4 specific issue. I'm not sure if it's freetype, xorg(xfree86 has the same problems) glib gtk pango or something I havn't thought about.

Offline

#5 2004-07-14 02:48:55

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: Font problems after installing nptl (two screenshots 70kb)

xerxes2 wrote:

here is my local.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts.conf file to configure system font access -->
<fontconfig>
         <match target="font">
            <edit name="antialias" mode="assign"><bool>true</bool></edit>
             <edit name="hinting" mode="assign"><bool>true</bool></edit>
         </match>
         <match target="pattern">
                 <edit name="dpi" mode="assign"><double>85</double></edit>
         </match>
         <!--  Dongs  -->

         <alias>
                 <family>serif</family>
                 <prefer>
                         <family>Bitstream Vera Serif</family>
                 </prefer>
         </alias>
         <alias>
                 <family>sans-serif</family>
                 <prefer>
                         <family>Bitstream Vera Sans</family>
                 </prefer>
         </alias>
         <alias>
                 <family>monospace</family>
                 <prefer>
                         <family>Bitstream Vera Sans Mono</family>
                 </prefer>
         </alias>
          <match target="font">
                <edit name="rgba" mode="assign">
                        <const>rgb</const>
                </edit>
        </match>

<dir>/usr/local/share/fonts</dir>
<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir>
</fontconfig>

hopes it helps

thanks for the code, my fonts looked just like rex0's with ntpl, and now look extra sleek.


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#6 2004-07-14 03:06:26

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: Font problems after installing nptl (two screenshots 70kb)

I've been searching google, and I've found that renaming the part "hinting", by "autohinting" gives even better results.


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

#7 2004-07-14 09:15:25

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Font problems after installing nptl (two screenshots 70kb)

That is dp's conf , except for the rgba stuff. Without it the fonts look like real crap. (I read the whole fontconfig manual to find it)
I'm trying autohinting now but I'm not sure that i notice any difference.


arch + gentoo + initng + python = enlisy

Offline

#8 2004-07-14 15:12:10

kakabaratruskia
Member
From: Santiago, Chile
Registered: 2003-08-24
Posts: 596

Re: Font problems after installing nptl (two screenshots 70kb)

xerxes2 wrote:

That is dp's conf , except for the rgba stuff. Without it the fonts look like real crap. (I read the whole fontconfig manual to find it)
I'm trying autohinting now but I'm not sure that i notice any difference.

The difference, at least in my case, is that some letters kind of dissapeared when using full hinting (k was one of them), so this fixed it.


And where were all the sportsmen who always pulled you though?
They're all resting down in Cornwall
writing up their memoirs for a paper-back edition
of the Boy Scout Manual.

Offline

Board footer

Powered by FluxBB