You are not logged in.

#1 2009-02-22 04:44:34

CheesyBeef
Member
Registered: 2008-06-04
Posts: 190

Uninstalled gnome, need help with fonts

When I first set up Arch, I installed gnome because I thought I was going to use it.  Immediately afterwards, I installed Openbox and have been using it constantly, so I just uninstalled gnome.

Before I did this, my fonts looked really sharp, and then I noticed now they are somewhat blurry.  I'm using the same font for gtk as I had set in gnome appearance properties, Bitstream Vera Sans size 9.  I believe, but am not totally sure, that this is only happening to fonts in gtk applications.  For example, this is not visibly happening to my openbox window title, but the text I am typing and all of the other text in firefox or any application that uses gtk, is blurry.  I'm going to provide as much information as possible, with screenshots.

Main question:  I installed lxappearance after removing Gnome to set my font back to the same Bitstream Vera Sans 9, but the fonts look different?  What's going on?  Could someone point me to the correct font if this isn't it, because I checked my entire font list and none matched the before picture?

Here is the before: (luckily I have a recent picture from today smile)

200902211401501280x800srj0.th.png

Here is the after: (tried to replicate before as best as possible)

200902212031461280x800suy3.th.png


Here are the gnome packages i uninstalled from my system: (did gnome secretly uninstall some font package?)

vino-2.24.1-1  gok-2.24.0-1  gnome-volume-manager-2.24.0-1  gnome-terminal-2.24.3-1  
gnome-power-manager-2.24.4-1  gconf-editor-2.24.1-1  file-roller-2.24.3-1  dasher-4.9.0-1  
evolution-webcal-2.24.0-1  evolution-exchange-2.24.4-1  ekiga-3.0.2-1  bug-buddy-2.24.2-1  
gnome-games-extra-data-2.24.0-1  elitaire-svn-38984-1  totem-2.24.3-1  tomboy-0.12.2-1  
gnome-games-2.24.3-1  exhibit-svn-38938-1  ewl-svn-39055-1  entrance-svn-38614-1  
e-svn-39061-1  e-modules-extra-svn-39062-1  sound-juicer-2.24.0-1  seahorse-plugins-2.24.1-1  
rhythmbox-0.11.6-4  totem-plparser-2.24.3-1  orca-2.24.3-1  mousetweaks-2.24.3-1  
hamster-applet-2.24.3-1  gnome-utils-2.24.1-1  gnome-system-monitor-2.24.3-1  
gnome-netstatus-2.12.2-1  gnome-desktop-sharp-2.24.0-1  gnome-sharp-2.24.0-1  
nautilus-cd-burner-2.24.0-1  libgnomeprintui-2.18.3-1  gtkhtml-3.24.4-1  
fast-user-switch-applet-2.24.0-1  evince-2.24.2-2  eog-2.24.3.1-1  efreet-svn-38975-1  
deskbar-applet-2.24.3-1  gnome-python-desktop-2.24.1-1  cheese-2.24.3-1  alacarte-0.11.8-1  
notification-daemon-0.4.0-1  nautilus-2.24.2-1  libgail-gnome-1.20.0-2  
gnome2-user-docs-2.24.2-1  yelp-2.24.0-2  gnome-themes-2.24.3-1  gnome-session-2.24.3-1  
gnome-screensaver-2.24.1-1  gnome-python-2.22.3-3  gnome-mount-0.8-1  gnome-media-2.24.0.1-1  
gnome-icon-theme-2.24.0-1  gnome-control-center-2.24.0.1-4  eel-2.24.1-1  metacity-2.24.0-1  
gnome-settings-daemon-2.24.1-1  gnome-backgrounds-2.24.0-1  gnome-applets-2.24.3.1-1  
gstreamer0.10-base-plugins-0.10.21-1  gnome-panel-2.24.3-1  evolution-data-server-2.24.4.1-1  
epiphany-2.24.3-1  gnome-desktop-2.24.3-1  libgnomeui-2.24.0-1  libbonoboui-2.24.0-1  
libgnome-2.24.1-1  gnome-vfs-2.24.0-2  gnome-mime-data-2.18.0-3

Here is my ~/.fonts.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>

   <!-- Info:
   xeffects thread:  http://forums.gentoo.org/viewtopic-t-511382.html
   http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts
   http://wiki.archlinux.org/index.php/XOrg_Font_Configuration
   http://antigrain.com/research/font_rasterization/index.html
   -->

   <!-- Blurry fonts:  Try rgb, bgr, vrgb, vbgr for "rgba" -->
   <match target="font">
      <edit name="rgba" mode="assign"><const>rgb</const></edit>
      <edit name="autohint" mode="assign"><bool>false</bool></edit>
      <edit name="antialias" mode="assign"><bool>true</bool></edit>
      <edit name="hinting" mode="assign"><bool>true</bool></edit>
      <edit name="hintstyle" mode="assign"><const>hintfull</const></edit>
   </match>

   <!-- Greyscale for small fonts -->
   <match target="font">
      <test name="size" compare="less_eq"><double>7</double></test>
      <edit name="rgba"><const>none</const></edit>
   </match>

</fontconfig>

Here is my ~/.gtkrc-2.0 (generated by lxappearance, I don't have a ~/.gtkrc.mine)

# DO NOT EDIT!  This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine

gtk-theme-name="LxG-Egalite-Carbon"
gtk-icon-theme-name="Meliae-Dark"
gtk-font-name="Bitstream Vera Sans 9"
gtk-toolbar-style=2
include "/home/brian/.gtkrc-2.0.mine"

Offline

#2 2009-02-22 04:55:43

CheesyBeef
Member
Registered: 2008-06-04
Posts: 190

Re: Uninstalled gnome, need help with fonts

So I've also just remembered that I set inside gnome appearance properties the font dpi to 86.

Is there any way to integrate these settings without gnome appearance properties?  I tried starting X with 86 dpi and that doesn't seem to help.

Here is the ~/.gconf/desktop/gnome/font_rendering/%gconf.xml

<?xml version="1.0"?>
<gconf>
        <entry name="rgba_order" mtime="1235158855" type="string">
                <stringvalue>rgb</stringvalue>
        </entry>
        <entry name="dpi" mtime="1235162438" type="float" value="86">
        </entry>
        <entry name="hinting" mtime="1235266915" type="string">
                <stringvalue>full</stringvalue>
        </entry>
        <entry name="antialiasing" mtime="1235266915" type="string">
                <stringvalue>rgba</stringvalue>
        </entry>
</gconf>

Offline

#3 2009-02-22 08:47:20

CheesyBeef
Member
Registered: 2008-06-04
Posts: 190

Re: Uninstalled gnome, need help with fonts

Ok, I believe I found the root of the problem - I had

"Xft*dpi:                96"

set in my .Xdefaults.

However, my text still seems bigger than it should be for gtk applications only.

Does anyone know how to manually set the feature in gnome-appearance-properties where you adjust the dpi (go to fonts > details > dpi > 86)?  I believe that is what made my font smaller for gtk applications.  I would really appreciate it if I could find out how to do this - is it possible to do with the ~/.gtkrc-2.0 file?

Last edited by CheesyBeef (2009-02-22 08:47:37)

Offline

#4 2009-02-23 00:47:29

froli
Member
From: Germany
Registered: 2008-06-17
Posts: 455

Re: Uninstalled gnome, need help with fonts

Search for xdefaults in the wiki.

EDIT: You should find what you need on this page

Last edited by froli (2009-02-23 00:56:30)


archlinux on Macbook Pro 10,1

Offline

Board footer

Powered by FluxBB