Results 1 to 6 of 6

Thread: konsole doesn't use liberation mono

  1. #1
    Join Date
    Nov 2009
    Beans
    14

    konsole doesn't use liberation mono

    I have set the konsole font to liberation mono, but I'm reasonably sure that the font that konsole is actually using is not liberation mono. It looks very different from the font used by xterm, emacs, gnome-terminal, etc.


    Is there some font mapping hidden away somewhere that is overriding my choice?


    Thanks,
    Mandar.

  2. #2
    Join Date
    Nov 2007
    Location
    Florida
    Beans
    37

    Re: konsole doesn't use liberation mono

    Hmmm, I'm not seeing a difference here between konsole, evilvte and roxterm.




    ~/.kde/share/apps/konsole/Shell.profile has the correct font set?

  3. #3
    Join Date
    Nov 2009
    Beans
    14

    Re: konsole doesn't use liberation mono

    Here's the appearance section from that file:


    [Appearance]

    AntiAliasFonts=true
    ColorScheme=Linux
    Font=Liberation Mono,12,-1,5,50,0,0,0,0,0

    Yes, my fonts look kind of like yours, but they look different (thicker) in xterm / emacs, and I prefer that appearance. Here's a screenshot.
    Attached Images Attached Images

  4. #4
    Join Date
    Nov 2007
    Location
    Florida
    Beans
    37

    Re: konsole doesn't use liberation mono

    To me it looks almost like the difference between Regular and Bold.



    (sorry about the imageshack links, I did not want to resize the image and make the fonts suffer because of it, and the forums do not allow attachments of that size)

  5. #5
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: konsole doesn't use liberation mono

    This may be that Konsole listens to KDE's font hinting settings, whereas non-KDE apps listen to GNOME's setting and/or fontconfig (as defined in your ~/.fonts.conf and /etc/font/conf.d/ files).

    Could it be that you have KDE set up to render fonts with full hinting, and GNOME/fontconfig up to use ~medium hinting? GNOME uses weird names for this, like "Best shapes" and "Monochrome" and whatnot. I'm not sure how they translate to hintnone, hintslight, hindmedium and hintfull, though.

    That said, I think Konsole overrides all settings a bit since it offers its own option for toggling antialiasing. I'm not sure to what extent, though.
    ...

  6. #6
    Join Date
    Nov 2009
    Beans
    14

    Re: [SOLVED] konsole doesn't use liberation mono

    I've managed to fix the problem. Just recording what happened in case it's ever useful to anyone.


    It turns out if I explicitly do "xrdb < .Xresources", this messes things up - konsole's fonts look like they do in the screenshots, and the fonts for gnome-based applications (e.g. gnome-panel, and synaptic) also look thin and under-fed.*


    If I don't run xrdb as above, my .Xresources are still automagically sourced, but the original problem disappears. Konsole fonts, as well as fonts on gnome applications look the way they are supposed to.


    Can't explain the fix, but I'm glad the problem's solved.*

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •