Crummy looking fonts in KDE

I'm new to Arch and finally got XFree up and running. However, the fonts on KDE look terrible and out of proportion. Tried changing all my fonts in the configuration menus to Times, which I know to be fairly clean in Windows but I still get funny looking fonts that strain my eyes. Any help for a newbie on where to go with this problem would be greatly appreciated, thanks. I also have a flat panel monitor.
JSkier

I've had my share of troubles with fonts, but after lots of hard work, I realized that there are ways to solve problems.  I'd like to say first off that I agree fully with the bytecode interpreter being enabled.  I also agree that the msttcorefonts should be installed, along with the bitstream vera fonts.
However, most people get discouraged, because the Bitstream Vera fonts look awesome antialiased, and the corefonts look awesome not antialiased.  But I have yet to see a GUI that lets you configure which font families are antialiased and which ones are not.  So I played with fonts.conf a bit, and to my delight, I came up with something that works for me and should work for most.
Put this in your ~/.fonts.conf :
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>~/.fonts</dir>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<test compare="eq" name="family" qual="any" >
<string>Arial</string>
<string>Arial Black</string>
<string>Comic Sans MS</string>
<string>Courier New</string>
<string>Georgia</string>
<string>Tahoma</string>
<string>Times New Roman</string>
<string>Trebuchet MS</string>
<string>Verdana</string>
<string>Webdings</string>
</test>
<test compare="less" name="size" qual="any" >
<double>16</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
<match target="font" >
<test compare="eq" name="family" qual="any" >
<string>Arial</string>
<string>Arial Black</string>
<string>Comic Sans MS</string>
<string>Courier New</string>
<string>Georgia</string>
<string>Tahoma</string>
<string>Times New Roman</string>
<string>Trebuchet MS</string>
<string>Verdana</string>
<string>Webdings</string>
</test>
<test compare="less" name="pixelsize" qual="any" >
<double>18</double>
</test>
<edit mode="assign" name="antialias" >
<bool>false</bool>
</edit>
</match>
</fontconfig>
Basically this sets all fonts antialiased, but excludes the Microsoft corefonts.  I have left Impact antialiased because I feel it looks better that way.  But that can be changed at your discretion.
I hope this helps someone!

Similar Messages

  • [SOLVED] Fat fonts in KDE

    Hi everyone,
    I'm using the ubuntu patched packages from AUR and my fonts look great on GTK apps but they look fat (bold) in KDE/Qt apps. I recall this happened too with the infinality packages so I'm sure it must be some configuration option, maybe some leftover from all the font things I've tried and messed with to get the fonts how I wanted.
    I want my fonts in KDE apps to look like the GTK ones as in the screenshot attached. Any ideas what might be the problem?
    GTK
    KDE
    Here's my /etc/fonts/fonts.conf ~/.fonts.conf in case it helps.
    Thanks.
    Last edited by mjn (2011-06-06 19:33:16)

    mjn wrote:I'm using the ubuntu patched packages from AUR...
    Which ones?
    I've got installed cairo-ubuntu fontconfig-ubuntu freetype2-ubuntu libxft-ubuntu and keep installed an old version of ubuntu fonts. My configuration looks exactly the same as yours, so, according to this (read the comments), you could try changing the hinting style from slight to medium in system settings/fonts/configure anti-aliasing. It will overwrite your ~/.fonts.conf, so do a backup copy before
    Or, better, if your ttf-ubuntu-font-family version is 0.71.2-1, downgrade it to 0.70.1, the third comment from the top will instruct you on how to do that.
    If it doesn't work, could you please post the directory listing of /etc/fonts/conf.d ?

  • Firefox fonts in KDE extremely tiny

    I'm experiencing what seems to be a pretty common problem with the firefox fonts appearing really small in KDE.  I've tried several things:  Installed gtk-qt-engine --> That makes gtk apps look better in kde, but doesn't solve the firefox font problem.  I've also tried altering the fonts and dpi in the firefox setttings as well.  When I start x with
    startx -- -dpi 96
      That seems to blow up the fonts and firefox does appear much better.  However, is there a cleaner way to do this?  My dpi is listing at 72 right now.

    Yes, that's because of pango.
    I used to experience the small fonts, but after I set MOZ_DISABLE_PANGO to 1 the fonts were bigger. In addition, I think the small fonts are better.

  • Fonts in KDE 3.2

    I just installed AL 0.6 and the fonts in KDE are not being anti-aliased.
    Could this have something to do with a missing xft package?
    I already have the freetype module enabled in my xf86config.
    Where am i going wrong?

    [damir@Asteraceae /]$ more /etc/fonts/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>false</bool></edit>
    </match>
    <match target="pattern">
    <edit name="dpi" mode="assign"><double>132</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>
    <dir>/usr/local/share/fonts</dir>
    <dir>/usr/share/fonts</dir>
    <dir>/usr/X11R6/lib/X11/fonts</dir>
    </fontconfig>
    [damir@Asteraceae /]$
    do you have something like this?

  • Fonts in KDE always look worse than in GTK for me

    Hello, here's a screen shot, compare the fonts of the GTK window with the fonts in the KDE window and judge for yourself:
    http://xs127.xs.to/xs127/08225/fonts733.png
    I have no specific KDE font configuration enabled, have no ~/fonts.conf either... Why don't fonts look the same in GTK and KDE?
    Please post hints/opinions...
    Last edited by bughunter2 (2008-05-30 20:44:11)

    Try using this in your /etc/fonts/local.conf
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <!-- the cathectic LCD tweaks, from linuxquestions.org,
    http://www.linuxquestions.org/questions/showthread.php?postid=1361098#post1361098 -->
    <fontconfig>
    <!-- Disable sub-pixel rendering.
    X detects it anyway, and if you set this as well, it just looks really horrible -->
    <match target="font" >
    <edit mode="assign" name="rgba" >
    <const>none</const>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hinting">
    <bool>true</bool>
    </edit>
    </match>
    <match target="font" >
    <edit mode="assign" name="hintstyle">
    <const>hintfull</const>
    </edit>
    </match>
    <!-- The first part of the 'magic.'
    This makes the fonts start to look nice,
    but some of the shapes will be distorted, so hinting is needed still -->
    <match target="font" >
    <edit mode="assign" name="antialias">
    <bool>true</bool>
    </edit>
    </match>
    <!-- Autohinter is not turned on automatically.
    Only disable this if you have recompiled Freetype with the bytecode interpreter,
    which is run automatically.<br /> -->
    <match target="pattern" >
    <edit mode="assign" name="autohint">
    <bool>true</bool>
    </edit>
    </match>
    <match target="font">
    <test name="weight" compare="more">
    <const>medium</const>
    </test>
    <edit name="autohint" mode="assign">
    <bool>false</bool>
    </edit>
    </match>
    <!-- Helvetica is a non true type font, and will look bad.
    This replaces it with whatever is the default sans-serif font -->
    <match target="pattern" name="family" >
    <test name="family" qual="any" >
    <string>Helvetica</string>
    </test>
    <edit mode="assign" name="family" >
    <string>sans-serif</string>
    </edit>
    </match>
    <dir>~/.fonts</dir>
    </fontconfig>

  • Fonts in KDE vs X fonts available to xfontsel

    I am not KDE expert, I always liked Window Maker. Now I can't run it, so I am trying to work with KDE and use its toys - like "konsole".
    After kdebase upgrade I can't configure konsole to satisfy my needs.
    In the font selection I can choose only from 6 fonts:
    - Andale Mono
    - Bitstream Vera Sans Mono
    - Courier New
    - Monospace
    - Sans Serif
    - Serif
    Only two fonts (Andale and Courier) have correct encoding (iso-8859-2).
    Both looks very bad in terminal, it's not possible to work that way for long time.
    When I run "xfontsel" I have much more fonts to choose. For example helvetica or fixed - and they have correct -2 encoding.
    What kind of fonts are used in KDE konsole? How to change them? Where to configure it? What should I install to have more fonts there? I have all *fonts* from pacman installed.
    PS. xorg7 if that matters

    Jacek Poplawski wrote:
    I am not KDE expert, I always liked Window Maker. Now I can't run it, so I am trying to work with KDE and use its toys - like "konsole".
    After kdebase upgrade I can't configure konsole to satisfy my needs.
    In the font selection I can choose only from 6 fonts:
    - Andale Mono
    - Bitstream Vera Sans Mono
    - Courier New
    - Monospace
    - Sans Serif
    - Serif
    from fonts you have listed only Sans Serif and Serif used to have good encoding for us Polish users, but as for now it seems to be broken (dunno why, just stopped working after one of updates) and as for now I use windows fonts (these work - eg. Tahoma is just fine for kde), apart from this try using unicode fonts. For the terminal I use font named "clean", but to enable it you have to link /etc/fonts/conf.d/10-bitmap.conf to yes-bitmaps.conf
    for testing purpose
    "żźćńąśłóę"

  • [SOLVED] Ugly fonts in KDE plamoids

    I'm running KDE 4.8 on my Arch 64 box and I've had for a while now ugly fonts in all the plasma widgets I'm running. All the other fonts look nice and smooth in all other places, eg. GTK and QT apps etc. but plasma widget fonts aren't as smooth for some reason. I'm using the infinality patches with the "UBUNTU" setting currently. Any heads up on would be nice...
    Many Thanks
    Last edited by fettouhi (2012-02-22 17:37:04)

    kokoko3k wrote:QT_GRAPHICSSYSTEM=native may help, add it to /etc/environment for a system wide setting
    or edit the exec line /usr/share/autostart/plasma-desktop.desktop by adding --graphicssystem native
    Dont use the first advice, because you will lose the advantages of raster system system wide. Raster system is faster than native, so apps are snappier with it. The second method is better
    Last edited by syms (2012-01-30 18:12:21)

  • Melting fonts in kde

    this doesn't happen when using kde apps in openbox. i tried disabling desktop effects, but that had no effect on the situation (might have made it worse, in fact).
    any ideas?
    Last edited by fuscia (2009-04-23 15:09:45)

    hacosta wrote:yup... there's a related thread here.. still no solution
    http://bbs.archlinux.org/viewtopic.php?id=69464
    a google search for font artifacts and kde4 seem to produce a lot of bug reports, some suggesting that the problem with be solved by a next update of qt4.whatever. i'm just an end user, so i'm a bit gun shy about going into it further. when i start looking into this kind of thing, i get a bit like this guy...

  • Rendering of fonts in kde 4 and gnome 2.24 [SOLVED]

    Dear all,
               I have been trying to set up fonts in my system so that gnome and kde applications look the same. I failed. I read the relevant post in these very forums, but the person that proposes the solution does not use autohinter and I do, so I cannot apply his solution. Anyway, the problem is that the spacing of letters using the same font is different in kde and gtk. For example, for the word "file" in the menubar, the F and the I and the L are closer together in GTK than in Qt. I wish I could post a screenshot.
    I am using the ubuntu patches. Here is my /etc/fonts/conf.d
    10-antialias.conf
    10-autohint.conf
    10-hinting-full.conf
    10-hinting.conf
    10-sub-pixel-rgb.conf
    11-lcd-filter-lcddefault.conf
    20-fix-globaladvance.conf
    20-unhint-small-vera.conf
    29-replace-bitmap-fonts.conf
    30-metric-aliases.conf
    30-urw-aliases.conf
    40-nonlatin.conf
    45-latin.conf
    49-sansserif.conf
    50-user.conf
    51-local.conf
    52-languageselector.conf
    53-monospace-lcd-filter.conf
    60-latin.conf
    65-fonts-persian.conf
    65-nonlatin.conf
    69-unifont.conf
    80-delicious.conf
    90-synthetic.conf
    My .fonts.conf is empty. I have a .Xresources file:
    Xft.hintstyle: hintfull
    Xft.antialias: 1
    Xft.hinting: 1
    Xft.autohinting: 1
    Xft.dpi: 100
    Xft.rgba: rgb
    Xft.lcdfilter: lcddefault
    that I merge with the command xrdb when X starts.
    Does anyone have an idea what could be different in the Gnome and KDE setups?
    Thanks for your help
             Valerio
    Last edited by valmar (2009-01-09 11:04:58)

    Dear All, after a long search I finally found a very accettable configuration.
    First of all patched cairo using the cairo-resepect-fontconfig patch from brebs
    then I applied the following patches to Qt 4.4.3:
    https://bugs.launchpad.net/ubuntu/+sour … bug/217729
    finally I chose the following configuration:
    Autohint: yes
    Hinting: yes
    Hintstyle: hintmedium
    Lcdfilter: lcddefault (I have the Ubuntu packages installed)
    Rgba: rgb
    Antialiasing: yes
    Now my fonts in Qt and GTK look much more similar (not perfectly identical, but good enough!)
    Thanks to anyone who helped
                 Valerio

  • Bad looking font after update to 17

    I had ClearType off in windows while using FF 16.0.2. It looked great. After update it looks ugly! I prefer not turning clear type on, because without it, font is for me better. I also have changed font of basic elements to tahoma and now win7 looks great for me.
    I read article, that it looks like this because ClearType is not turned on. I have turned it on and it is still a litle bit different. Not looking good.
    Do you have any solutions to this problem?

    You can check the solution in [https://support.mozilla.org/en-US/questions/942265 this question].

  • Looking for a pixilated looking font

    I am looking for a pixilated font like http://www.fontshop.com/fonts/singles/club21/preset_f_ot/
    Anyone have an idea?
    Thanks

    Dafont has plenty of free ones.
    http://www.dafont.com/bitmap.php

  • Strange semi-broken cut-looking fonts.

    Hello. My fonts are acting strange. Some look like they've been cut in half, and sometimes it's just the bottom. It's happening as I type this. I can post a screenshot to show you what I mean.
    Dragos240
    Note the "f" in fonts, and the "f in half.
    It happens with other letters too. I'm just not sure why it's happening.

    BaconPie wrote:Screenshot?
    You're looking at it: http://img842.imageshack.us/img842/7158 … 004145.png
    Edit: OK, the threads got merged, now I get it. For a while I though you don't see the pics in the first post :-)
    Last edited by karol (2010-08-29 20:24:44)

  • Kde konsole messes fonts - gnome-terminal looks ok. Reason?

    I have strange situation - after some upgrade couple of days ago fonts in KDE konsole broke. To make it more specific - standard fonts look more or less ok, but when I use my national characters (like ąćęłńśóźż) they all look broken - like from another font, or badly scaled.
    The same problem doesn't exist in gnome-terminal.
    I usually use Terminus font, so I used this for demonstration, but it shows in other fonts as well - if that will be necessary I will provide list.
    Konsole shot:
    gnome-terminal shot:
    As for my settings:
    =$ cat /etc/X11/xorg.conf
    Section "Device"
    Identifier "Builtin Default intel Device 0"
    Driver "intel"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    EndSection
    Section "Screen"
    Identifier "Builtin Default intel Screen 0"
    Device "Builtin Default intel Device 0"
    Monitor "Monitor0"
    EndSection
    Section "InputDevice"
    Identifier "touchpad"
    Driver "synaptics"
    Option "CorePointer"
    EndSection
    Section "ServerLayout"
    Identifier "Builtin Default Layout"
    Screen "Builtin Default intel Screen 0"
    InputDevice "touchpad"
    EndSection
    =$ xdpyinfo | grep -E resolution\|dimensions
    dimensions: 1680x1050 pixels (444x277 millimeters)
    resolution: 96x96 dots per inch
    I tried forcing DPI in system settings (to 120), or adding monitor size to xorg.conf - so far nothing helped.
    Any idea on what should I do to make it work sanely again?

    I've got the same problem. It looks like KDE does not read all characters for Terminus font, or reads in only one encoding. If you go to System settings -> Font installer, you see that terminus has very few characters there, and does not have special national characters.
    However, I've no idea how this can be solved. I'd guess it's some bug in KDE, but on the other hand downgrading KDE to previous version does not help at all.
    Any ideas?

  • KDE fonts under Gnome doesn't look good

    Ok, most people complains about GTK fonts under KDE. I have the inverse problem, my kde apps doesn't look good into gnome.
    If I run kde, the fonts are displayed properly with small size, but if I run gnome and the run a kde app, the fonts are very big.
    When i run a gtk app under kde, the fonts are showed properly but it doesn't use my gnome theme.
    Anyone have a solution on making kde apps looking good under gnome?

    Even though it's the inverse problem, it's likely still the same solution.  Gnome has a Gconf setting for DPI.  Otherwise you change it as an option to X.  Where you do so depends on how you start up X though (startx, xdm, kdm, gdm, etc).  I'll post back once I'm in Gnome and tell you where you can change the DPI.

  • [kde] Cannot install Konsole fonts

    Hi folks,
    I can't install new fonts to kde konsole. After an "Install bitmap" I got
    Could not install console8x16.pcf.gz into fonts:/Personal/
    Any hints how to solve this? What is wrong, what am I missing?
    I only can choose between "Andale Mono, Bitstream Vera Sans Mono, Courier New, Monospace, Sans Serif and Serif. All are ugly What about Tahoma or Console?

    seems like kde-specific problem to me, have u looked at bug reports at kde.org already? if not, try to post a bug report  

Maybe you are looking for

  • New to PrPro with specific workflow questions

    Hi, All! I'm a 20+ year video veteran wading into the Premiere Pro pool this year. I have an extensive Avid and FCP background. Please don't hold that against me! I also realize this is long, but I'm trying to cram everything in so you can see where

  • When I open a blank document the file manager, I cannot open the folder such as exercise files on desktop

    I'm using motion 5, when I try to open the file browser, I can see the folder but can't open to see the files. What am I doing wrong?

  • My jspx query code doesn't respond

    <?xml version="1.0"?> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jstl/core" xmlns:sql="http://java.sun.com/jstl/sql"            version="1.2"> <jsp:directive.page contentType="text/html"/> <jsp:directive.page impo

  • Macbook w/Apple Display Questions

    Hi, Two questions: 1. Would there be three connections between a Macbook and a Apple Display? a. DVI b. USB c. Firewire 2. How would the Macbook (1 FW 400 and 2 USB 2 ports) treat the 4 USB's and two FW 400 ports on the display? Thanks! Donny

  • How do I delete old WiFi Accounts?

    I have two Macs running Mavericks and an iPhone and iPad both running iOS 7. I can't delete old WiFi accounts with no password that I no longer wish to connect to. Every time I delete them in System Preferences, they keep coming back. I've disabled i