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

fixed 10 font problem



I am using Debian testing and I have a problem with the font fixed-10.
In Gnome font preference, the font fixed 8, 9, 11, 12 are all displayed
correctly (96dpi). However size 10 is extremely ugly (looks like a dual
width font). It is the this font that I use the most, which is pretty
frustrating. Programs like GVim uses that font and they look so ugly.
The only exception is gnome-terminal, which displays the font nicely and
correctly. However in the terminal profile, the font preview is as ugly.

I have this file ~/.fonts.config

<match target="pattern">
    <!-- match family "fixed" -->
    <test name="family">
        <string>Fixed</string>
    </test>
    <!-- make sure width wasn't specified -->
    <test name="width" qual="all">
        <int>-1</int>
    </test>
    <!-- set the width to semicondensed to prefer 6x13
    -->
    <edit name="antialias" mode="assign">
        <bool>false</bool>
    </edit>
    <edit name="width" mode="assign">
        <const>semicondensed</const>
    </edit>
</match>

If I delete this file. The font in gnome-terminal becomes as ugly. (If I
select size 9 or size 11 they look okay, they look like Fixed font, but
not the size I want). Any solutions? Thanks.

cx

=====

my /etc/fonts/local.conf:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <include
ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
  <dir>/usr/X11R6/lib/X11/fonts/misc</dir>
<!-- Uncomment below to enable subpixel rendering -->
<!--
  <match target="font">
    <test qual="all" name="rgba">
      <const>unknown</const>
    </test>
    <edit name="rgba" mode="assign"><const>rgb</const></edit>
  </match>
-->
<!-- Uncomment below to enable the freetype autohinter module -->
<!--
  <match target="font">
    <edit name="autohint" mode="assign">
      <bool>true</bool>
    </edit>
  </match>
-->
</fontconfig>

=====

my /etc/X11/fs/config:

# font server configuration file
# $Xorg: config.cpp,v 1.3 2000/08/17 19:54:19 cpqbld Exp $
                                                                                
# allow a maximum of 10 clients to connect to this font server
client-limit = 10
# when a font server reaches its limit, start up a new one
clone-self = on
# log messages to /var/log/xfs.log (if syslog is not used)
error-file = /var/log/xfs.log
# log errors using syslog
use-syslog = on
# turn off TCP port listening (Unix domain connections are still
# permitted)
no-listen = tcp
# paths to search for fonts
catalogue =
/usr/lib/X11/fonts/misc/:unscaled,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/CID,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fonts/100dpi/
# in decipoints
default-point-size = 120
# x1,y1,x2,y2,...
default-resolutions = 75,75,100,100
                                                                                
# font cache control, specified in kB
cache-hi-mark = 2048
cache-low-mark = 1433
cache-balance = 70



Reply to: