[SOLVED] Odd font spacing in gnome-terminal

Hi guys, i'm new to Arch and i'm loving it: everything is working flawlessly apart from monospaced fonts that look more spaced than what i'm used to (Ubuntu), here is what i'm talking about:
I tried -lcd and -ubuntu packages, changed hintstyle to both full/medium/slight but all to no avail, do you have any ideas?
Here is my configuration, that i'm using in Ubuntu and Arch right now:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<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>hintslight</const></edit>
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
</fontconfig>
Thank you in advance!
<edit>
Some clarifications: the configuration does get applied, so it's not due to misplaced configuration files, the font tracking just doesn't look right.
The depicted font in the screenshots is Menlo, but any other monospaced font, such as the Droid Mono, will look wrongly spaced.
</edit>
Last edited by bmanuel (2011-11-06 11:12:45)

Oh well, it seems i got it: it seems that just selecting a size of 7.5 instead of 8 get exactly the same spacing as if using a size of 8 in Ubuntu, this without installing any -ubuntu/-lcd/-cleartype patches, only vanilla arch packages.
The dumb gnome-3 new font selector will *not* permit selecting intermediate sizes and won't let you enter "7.5", so fire up gconf-editor and just change the value for apps.gnome-terminal.profiles.Default to be, as in my case, "Menlo 7.5".
Finally, sensible spacing in my terminals!

Similar Messages

  • [SOLVED] Urxvt Font Spacing

    Hello all!
    I'm trying to get the artwiz-edges font working in Urxvt. Here's the line in my .Xdefaults:
    URxvt.font:xft:artwiz-edges-medium-r-normal--*-*-*-*-*-*-iso8859-1
    Issue is, when I restart and run Urxvt, the font is spaced apart very widely. Can someone please explain to me how to fix this?
    Last edited by rednano12 (2010-07-09 20:07:27)

    Is artwiz edges really a truetype font? If it is then you maybe the format of the URxvt.font argument is wrong and should be something like URxvt.font: xft:Artwiz Edges:size=11. If it's not maybe you should drop the "xft" from the argument. And don't forget to remerge your .Xresources or .Xdefaults (xrdb -merge .Xresources).
    Last edited by Foucault (2010-07-09 17:00:53)

  • [Solved]Xfce fonts look strange in Terminal

    Never had this before maybe something went wrong on the catalyst installation, can't really describe it either so I will just post a picture.
    Hope that you can help it isn't really fatally but it's just ugly
    Last edited by heldiho53 (2014-10-01 18:56:05)

    brebs wrote:
    I would exit xorg (otherwise xorg will probably crash), then run as root:
    fc-cache -rf
    /usr/share/fonts: error scanning
    /usr/share/fonts/encodings: error scanning

  • Weird Gnome-Terminal font issue

    So i reinstalled arch yesterday and i'm having a problem with font rendering in gnome-terminal. Some letters will disappear, leaving the i-beam.
    It only happens sometimes, and happened on my previous install, but i don't know what i did to fix it then.
    Here's what it looks like
    Not sure what's causing it. I've tried other fonts, and it still happens. Atm i'm using Droid Sans Mono and i have the ubuntu font patches. Though i was having the issue before with the lcd font patches.

    Knute wrote:I was a help desk technician for many years, and learned that sometimes the best question to ask was "Is it plugged in?"
    Me too.
    And since most of installing arch and DE's is handled by pacman and not the installation media, it seems kind of irrelevant.
    I'm thinking it has to do with compositing or Nvidia drivers.
    I'm also getting some rendering problems in firefox, if i switch tabs, the tab will switch but the page will not. And i'll have to keep switching back and forth to get the tab switched.
    I'm currently running kernel26-ice with the latest nvidia proprietary drivers. I guess i'll try without compiz and see how it goes...

  • Compose Key in gnome-terminal

    Hallo All
    We currently have a bit a strange behavior of the compose key in gnome-terminal (jds). If I want to create � a-umlaut and press "compose->drouble brackets-> a I get the following string: "� . But this happens only on gnome-terminal and some gnome-apps. If I start xterm, it works as expected (key sequence generates the expected � ). Can somebody give me a hint, how the compose key is handled on Solaris/X11, and how to configure it correctly under X (gnome) and - later also - KDE?
    Many thanks

    it's working well with mono fonts, but for reading literary texts I'd prefer proportional fonts. KDE4 konsole doesn't even allow proportional fonts in the selection of available fonts, while with gnome-terminal the proportional fonts are badly displayed. Why not displaying proportional fonts as they should, even if it could break some console programs (such as nethack)?
    Last edited by farvardin (2009-04-26 08:11:15)

  • [Solved]urxvt does not search the font for emojis while gnome-terminal

    Hi, I'm using urxvt and am having some problems setting up fonts. These are my URxvt parameters specifying the fonts
    URxvt*font: xft:Inconsolata-dz for Powerline:style=Semibold:pixelsize=14:antialias=true:hinting=slight, \
    xft:PowerlineSymbols:pixelsize=14:antialias=true:hinting=slight, \
    xft:Symbola:pixelsize=14:antialias=true:hinting=slight
    Now, the emojis from Symbola does not appear and it only appears as a box
    The same thing when opened in Gnome-terminal properly displays the emojis
    Also, I have tried starting urxvt with the following options
    urxvt -fn "xft:Symbola"
    and it works but as you see Symbola is not a font for your terminal.
    What am I doing wrong here? I've check my previous lines and it is right. Do you guys have any ideas? Much appreciated. I have also tried with other posts stating that Urxvt cannot display symbols properly and have tried them all. If I've missed any please let me know. The strange thing is that it works for Gnome-terminal and Urxvt with only Symbola fonts
    Last edited by decryptedepsilon (2014-07-12 02:40:24)

    bch24 wrote:
    Make sure the System Locale is set to utf-8 locale.
    This sometimes is the issue.
    Many thanks for your reply, I've checked the system locale is proper. I think I have found the solution.
    I think the official rxvt-unicode faq and documentation here states that rxvt-unicode drops pixels while showing some fonts because different fonts use different height and width. In this particular case, Symbola font is too wide and the default letterSpace does not allow it to display correct. If -letsp parameter is set to 4, it is displaying but with about a half pixel missing
    The specific parameters for .Xresources
    URxvt*font: xft:Inconsolata-dz for Powerline,xft:Symbola
    URxvt*letterSpace: 4
    And this gives this which technically solves the issue
    The documentation clearly states the following
    All of this requires that fonts do not lie about character sizes, however: Xft fonts often draw glyphs larger than their acclaimed bounding box, and rxvt-unicode has no way of detecting this (the correct way is to ask for the character bounding box, which unfortunately is wrong in these cases).
    I guess the first thing one should do is to check the documentation thoroughly of the official project page rather than searching countless forums where people have discussed stuff based on trial and error. I guess that's a classic rookie mistake and I feel very good that I'm moving past the rookie phase

  • [solved]Mono font substitution problem in gnome terminal

    I have to edit mono font substitution in 65-nonlatin* in /etc/fonts/conf.d
    Still don't understand why font rendering in terminal is different from the rest of the system though...
    Don't know where else to post this, so it ends up here...
    I just upgraded fontconfig today and substituted the ubuntu packages (cairo, freetype2 and libxft) with the cleartype ones (as the later are up-to-date and turn out looking cool too).
    The only problem I have now is that mono font substitutiton got messed up in gnome-terminal.
    Both gedit and terminal use the system mono font (which is set to Monospace), with Liberation Mono as the preferred font. But somehow the terminal decides to use a different font (looki like my Chinese font: wenquanyi-zenhei).
    If I tell the terminal to use Liberation Mono, I get a serifed Chinese font, so this is not a solution for me.
    I've read somewhere that gnome-terminal does not follow the system fontconfig? It gave me a lot of trouble the last time I upgrade the relevant files. So unfortunate that it decides to be naughty again this time...
    Last edited by allbluedream (2008-07-30 11:25:08)

    http://wiki.archlinux.org/index.php/Configuring_locales instructed me to 'export LANG=en_EN.utf8' to set the system language to english, yet that locale doesn't exist in locale.gen. Of course, I had neglected to look in locale.gen for such an entry to uncomment it, or I would have noticed the error sooner. All is working now.

  • 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?

  • Urxvt vs gnome-terminal font style difference

    Hi All,
    I`m using ubuntu mono font with cleartype patches for my terminal. On gnome-terminal the fonts look good  but on rxvt-unicode they look different (more sharp, thin and wide).
    How do I make the fonts look good in urxvt just like gnome-terminal?
    In the screenshot above, left side is gnome-terminal and right is rxvt-unicode.
    Here is the relevant chunk from ~/.Xresources:
    Xft.dpi: 96
    Xft.antialias: true
    Xft.rgba: rgb
    Xft.hinting: true
    Xft.hintstyle: hintslight
    URxvt*font: xft:ubuntu mono:size=13:style=medium:antialias=true
    URxvt*boldFont: xft:ubuntu mono:size=13:style=medium:antialias=true
    Thanks.

    orschiro wrote:You need to install rxvt-unicode-patched from the AUR as by default urxvt has some font rendering problems.
    Thanks. I should have mentioned this before, I`m using rxvt-unicode-256xresources from AUR. This packages has same patches as rxvt-unicode-patched. However, I have tried both rxvt-unicode-patched and rxvt-unicode-256xresources and both versions have the same issue.
    On the flip side, I removed the xft,freetype2 and cairo cleartype patches and installed -ubuntu patches. With this I was able to get the desired quality in urxvt, but then gnome-terminal,emacs and other X apps get the bad font rendering.
    Unfortunately, I do no understand the details of font configuration like antialias-ing, hinting etc to tweak this.
    Last edited by acewin (2011-10-17 12:33:24)

  • [SOLVED] gnome-terminal won't start

    Well, first of all good day and thanks in advance.
    gnome-terminal is not launching. I get:
    ERROR:terminal-app.c:1433:terminal_app_init: assertion failed: (app->system_font_desc != NULL)
    This started with no particular trigger, and now i am using aterm, but i like better gnome-terminal, so any help would be appreciated.
    Last edited by evildrake (2009-07-24 16:37:48)

    Seems like a font issue, try this:
    gnome-terminal --tab-with-profile=Default
    Else you can try editing the settings using gconf-editor.

  • Font fringe (blur) in terminal [SOLVED]

    I succeeded to get rid of font fringe in Firefox by using:
    $ cat /etc/fonts/local.conf
    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
    <match target="font">
    <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>
    <edit name="lcdfilter" mode="assign"><const>lcdlegacy</const></edit>
    <edit name="rgba" mode="assign"><const>none</const></edit>
    </match>
    </fontconfig>
    but I can't get rid of it in any terminal where I can set the font size and background color, which means lxterminal and gnome-terminal.
    I really need this, please tell me how could you set up your terminal with no font fringe, a normal 12 points font and white on black colors in X Window?
    Last edited by doru001 (2013-02-03 10:33:15)

    brebs wrote:
    Wrong. There is no simple, magic button marked "remove font fringes" that you can press.
    The sad reality is that font rendering is a horrendous historical mess of compromises, becauses monitors are roughly 100 dots-per-inch rather than the 600 DPI that we would like.
    What you get with Infinality is better rendering in general, and more tweaking ability. But this takes effort, on your part.
    The compromise ends up being a little bit of fringing. E.g. with small, bold Helvetica. An option is to turn the sub-pixel rendering off, to remove the fringing, but that looks worse to me.
    Fonts also vary wildly in quality. In my terminal I've been happy for years with the Liberation Mono font.
    I finally begin to understand. Thank you.
    P.S. Where is this lxappearance saving its configs? Of course, no man.
    EDIT: By using find to search for modified config files while I modified settings in lxappearance I found out that the settings for fonts are modified in `/home/user/.config/lxsession/LXDE/desktop.conf` (and they are full of references to gtk).
    Last edited by doru001 (2013-02-01 11:02:44)

  • [SOLVED] cannot run gnome-terminal or rxvt

    I am running Arch 64 with GNOME. Every time that I try to run gnome-terminal, it simply flashes for a split second and disappears. it does not seem that rxvt is even invoked when I click on it, and I am not sure how to proceed.
    Here is what I have done:
    1.The problem started when I got openbox under GNOME up and running. I thought that openbox did something odd, so I removed it. (I don't think a window manager would damage applications, but I'm kinda knew to swapping them around)
    2. I went ahead and got metacity running again.
    3. I reinstalled GNOME.
    4. I double checked previous forum posts, and I indeed have a default shell (now zsh, see below)
    5. I went ahead and installed zsh. It works just fine in tty, and 'echo #SHELL' properly returns '/bin/zsh'
    Ideas?
    Last edited by electricaltape (2010-05-17 23:28:38)

    The only problem is with terminals; all other applications in X work fine. I don't think it is a driver problem since the terminal only began to misbehave after I installed/uninstalled openbox. I am not sure where to look for error messages; is there some logfile I can check?
    I think kazuo is on to something.
    DISPLAY=:0 gnome-terminal
    has the output (in tty1)
    Invalid MIT-MAGIC-COOKIE-1 keyFailed to parse arguments: Cannot open display:
    UPDATE : The install I had was pretty fresh anyway, so I just reformatted. Therefore, no more problem.
    Last edited by electricaltape (2010-05-17 23:29:00)

  • [Solved] Gnome-terminal does not start (fresh install)

    Whenever I install gnome-terminal, I have the following message displayed:
    (gconftool-2:28984): GConf-WARNING **: Client failed to connect to the D-BUS daemon:/usr/bin/dbus-launch terminated abnormally without any error message
    Then whenever I launch gnome-terminal I have this message:
    ** (gnome-terminal:1102): CRITICAL **: atk_bridge_adaptor_cleanup: assertion `inited' failed
    The problem seems to be related to dbus. I have even tried guake which complains explicitly about "No D-BUS daemon running".
    Systemctl is telling me that d-bus is up and running.
    Any help appreciated.
    Info:
      - Linux arch64-vbox 3.6.9-1-ARCH #1 SMP PREEMPT Tue Dec 4 08:04:10 CET 2012 x86_64 GNU/Linux
      - systemctl --all | grep error
    auditd.service error inactive dead auditd.service
    display-manager.service error inactive dead display-manager.service
    plymouth-quit-wait.service error inactive dead plymouth-quit-wait.service
    plymouth-start.service error inactive dead plymouth-start.service
    rc-local.service error inactive dead rc-local.service
    syslog.service error inactive dead syslog.service
    Cheers,
    Last edited by PierreR (2012-12-05 20:16:59)

    Solved with the latest dbus upgrade (dbus-core removal)

  • [SOLVED] Gnome 3.12 : gnome terminal does not run anymore

    I had the following message when trying to run gnome-terminal after updating to 3.12:
    Error creating terminal: Message did not receive a reply (timeout by message bus)
    I have found a fix, so I'll share it with the community. The problem was that I had vte3-mosh-fix installed from the aur, version 0.34.9 and that gnome-terminal now requires vte3 0.36.0.
    Switching to the official vte3 package fixes the issue.

    Thank you for posting the solution.  I would have never even remembered that I had installed that mosh fix, let alone thought to remove it.

  • [solved] Internal padding in gnome-terminal

    Hi there,
    Is there a way to define an internal padding in gnome-terminal of Gnome 3.8?
    The output is too close to the window borders and I would like to have them placed a bit more inside.
    At the moment it looks like that: http://i.imgur.com/QlVPrFf.png
    Thanks!
    EDIT:
    To move the terminal output away from the window borders create the stylesheet ~/.config/gtk-3.0/gtk.css with the following setting:
    TerminalScreen {
    -VteTerminal-inner-border: 10px 10px 10px 10px;
    Last edited by orschiro (2013-05-26 20:15:42)

    On most recent Gnome 3.16 we need to create the stylesheet ~/.config/gtk-3.0/gtk.css with the following setting:
    VteTerminal,
    TerminalScreen {
    padding: 10px 10px 10px 10px;
    -VteTerminal-inner-border: 10px 10px 10px 10px;
    Ref.: https://wiki.archlinux.org/index.php/GN … e_terminal

Maybe you are looking for