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)

Similar Messages

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

  • [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] 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!

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

  • Pickyfont - change your terminal font on the fly

    While I'm getting older my eyes are too. I looked for some way to change the
    terminal font on the fly, like you can do with 'setfont' in the VT. I found
    none, so I came up with this, nothing fancy but quite handy.
    Project: http://github.com/trapd00r/pickyfont
    AUR: http://aur.archlinux.org/packages.php?ID=39032
    Last edited by dmz (2010-08-22 19:34:31)

    thayer wrote:
    Handy tool, dmz thanks.
    In my case I often specify both *font and *boldFont values in my Xdefaults since terminus doesn't include bold letters at the smaller sizes.
    Pickyfont doesn't appear to set/change the boldFont if it was previously specified.
    I found a different escape sequence to switch fonts at runtime:
    # normal font
    printf "\033]710;%s\007" "${font}"
    # bold font
    printf "\033]711;%s\007" "${bold_font}"
    See http://lists.schmorp.de/pipermail/rxvt- … 00886.html for a urxvt perl extension.
    Edit: it all in man 7 urxvt
    XTerm Operating System Commands
           "ESC ] Ps;Pt ST"
               Ps = 50    Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n
               Ps = 710   Set normal fontset to Pt. Same as Ps = 50.
               Ps = 711   Set bold fontset to Pt. Similar to Ps = 50 (Compile styles).
               Ps = 712   Set italic fontset to Pt. Similar to Ps = 50 (Compile styles).
               Ps = 713   Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles).
    Last edited by lolilolicon (2010-03-16 15:28:58)

  • Not able to get font style for some fonts

    Hi,
    I am getting font style(like regular, bold, italic etc) like this-
    while (count < fontCount) {//loop , which iterate throgh used fonts.
                                                      ATE::IFont currentFont = fontRefArray.Item(count);
                                                      if (!currentFont.IsNull()) {
                                                                FontRef fontRef = currentFont.GetRef();
                                                                AIFontKey fontKey = NULL;
                                                                result = sAIFont->FontKeyFromFont(fontRef, &fontKey);
                                                                result = sAIFont->GetUserFontName(fontKey, fontname, 50);
                                                                result = sAIFont->GetPostScriptFontName(fontKey, psname, 50);
                                                                result = sAIFont->GetFontStyleName(fontKey, stylename, 50);
                                                                result = sAIFont->GetFontFamilyUIName(fontKey, familyname, 50);
    For some fonts(not all the fonts) , Style name is comming as empty string, however for other fonts its working. Not sure why its working for some fonts and not for others. Other font properties are coming fine for all fonts.
    When its failing, result is not  kNoErr, but i dont know that how to get the exact error?Please help me in this issue.
    Regards,
    Harsh

    Hi A. Patterson,
    Thanks for your suggestion.
    I tried GetFontStyleUINameUnicode() also but its also returning the emply string for style name for some of the fonts only difference is that error is kNoErr for all fonts. May be there is some problem with those specific fonts(who knows? ).  m keep digging this.
    Regards,
    Harsh

  • Cannot use byobu shotcut in gnome-terminal after upgrading GNOME 3.12

    I cannot use byobu to create a vertical pane in gnome-terminal after upgrading to gnome 3.12.
    The shortcut of creating vertical pane is Shift+F2. When I press these keys, there is `6~' showing
    in the terminal.
    I have tried this key binding in urxvt terminal. It still doesn't work. However, when I tried in Xfce-terminal,
    byobu worked well.
    Any ideas? Many thanks.

    nashamri wrote:
    Okay I think I found a workaround, Byobu depends on tmux and the same issue is happening with tmux with Shift and all the function keys.
    So to get things working, just set the env variable $TERM to "screen-256color"
    $ export TERM=screen-256color
    and then run byobu again. I'm not sure if this will break other things, I'll report back if I find anything.
    Thank you so much for this workaround! I already discussed the topic here without any success: https://bbs.archlinux.org/viewtopic.php?id=184603.
    Regards,
    eNauz

  • Font style not available on select machines (Captivate 5)

    Cap community,
    For most of our projects, I selected Lucida Sans as the default font for most caption types. Internally we would hand a single project file off between 2-3 different people and didn't have any issue until recently my boss does not have the Lucida Sans Regular font style while at least three others of us do.
    Below and left is a screenshot from my machine that shows the Regular font style. Below and right is a screenshot from my boss showing the missing Regular font style.
    The obvious thing to check is that she does in fact have the same font family and not just the Italic, Demibold Italic, and Demibold families. However, we both have the same font on our Windows > Fonts folder. Here is a screenshot of that font from the Windows font viewer. The font name is Lucida Sans Regular (TrueType) and the filename is LSANS.TTF (oddly enough, the font viewer describes it as OpenType even though the name in Windows Explorer reads TrueType... but this is the same for both our machines so it doesn't appear to be a different variable).
    We even carefully uninstalled her Lucida Sans font family and copy/pasted my font file to her machine to ensure we had the same one, and still no joy. Has anyone run across this issue? Seems like it could be either a font issue or Captivate, but leaning toward Captivate since we feel relatively sure that we have the same font.
    BTW, as a result of this difference when she opens the .cpx project file I'm working on it replaces all the Regular font styles with her Demibold or Demibold Italic, which throws everything off if she wants to publish to swf or Word doc.
    Best,
    Danny

    Hi Danny
    Two things:
    First, please submit this as a bug to Adobe using the Wish Form/Bug Reporting Form (link is in my sig)
    I say this because Adobe needs to be aware of this issue. And it relates directly to my second thing below.
    Secondly, I've seen others report missing fonts and such that were present in Captivate 4 but not in Captivate 5. To date, I don't recall seeing anyone from adobe answer any of these threads with a reason or a solution. So I'm hopeful that by all affected reporting this as a bug, someone will finally hear back from Adobe on the issue. If that happens, I'm also hopeful that one of these threads will be updated to advise why this is happening.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Terminal fonts turned ugly after last update

    Terminal font Monospace 11 turned ugly after today's system update.
    Before that, I even didn't use antialiasing, so nice and crisp they were.
    Turning antialiasing on helps partially, but this font looks kinda blurry.
    I am running Xfce4 under Arch64. Here is the fonts part from xorg.conf:
    Section "Files"
        RgbPath         "/usr/share/X11/rgb"
        ModulePath      "/usr/lib/xorg/modules"
        FontPath        "/usr/share/fonts/misc"
        FontPath        "/usr/share/fonts/75dpi"
        FontPath        "/usr/share/fonts/100dpi"
        FontPath        "/usr/share/fonts/cyrillic"
        FontPath        "/usr/share/fonts/Type1"
        FontPath        "/usr/share/fonts/TTF"
        FontPath        "/usr/share/fonts/artwiz-fonts"
        FontPath        "/usr/share/fonts/encodings"
        FontPath        "/usr/share/fonts/util"
    EndSection
    And yes, I am using Community, Extra and Testing depositories.
    My screen is LCD 1440x900 with 96x96 resolution.

    same thing happened to me gnome-terminal font

  • [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 style changes when making a book in iphoto

    I am trying to make a book and the inner cover I wrote a little about our vacation. I wanted to make the font size larger so I clicked on the settings button below and this window popped up with "cover title:" "Cover Subtitle:" etc with the font style/Plain/and font size. When I went to change the "Flap Body" font size to make it larger to a size 14 and then clicked ok everyone of those options went from Helvetica Neue to the next font in the list which is ugly. I try to set it to Helvetica Neue and then they all change to another font??????? I ended up just doing open apple z to undo to the original. I use iphoto 7.1.4 and I use the 10.4.11 operating system. I have an imac g5 powerpc. It's not a life or death situation but it is annoying that I cannot change the font size of one thing without having it change the font style of all the options. Any suggestion would be great!!

    I once overshot the limit by marking too many photos to fit within 99 pages, but I could never figure out how to fool the application and had to give up trying to add those 14 extra photos.
    I asked a friend (who practically lives in Terminal) if he had any way of modifying that limit, but he reminded me that if their printing services are set up to bind books and bill for only 99 pages, fooling the application might be useless if the service only prints me a 99 page book and discards the additional pages.
    I can understand that you wouldn't want to let people print 1000 page books, but I sent feedback anyway to allow me to increase the limit. Anyone know of any service that lets you print beyond iPhoto's limits?

  • Gnome 3 font, cursor, widget problems

    I've just installed Arch on my netbook and have installed Gnome 3. (I've previously used Debian, Ubuntu and Fedora in the past.)
    Gnome 3 works, but looks seriously ugly. Widgets (e.g. volume, network manager) are functioning but are invisible on the top bar. On option screens (e.g. in Settings), visual elements such as the ticks for tickboxes are missing. The terminal font is pretty hideous.
    I found a thread elsewhere on creating a symlink to the default cursor set, which means I at least have the Gnome cursors now. But searching the forums and Google hasn't thrown up a "one-stop shop" answer to the other missing elements from the Gnome 3 desktop. Any suggestions on how to resolve this?
    I have installed all gnome and gnome-extra packages, and apart from the theme elements everything else seems to be working fine.

    Thanks for link, it was useful as far as letting me play with firefox font dpi independently of gnome.  The problem was that I was trying to set the font dpi through gconf, which seems to break gnome font management in bad ways, including crashing gnome-terminal.  Once I set the DPI from the appearance settings dialog, everything worked fine.
    Last edited by astrixx (2008-01-15 07:17:50)

  • Blur terminal font...

    Hi,
    I am a bit having trouble with my terminal font. I used to have a problem related with fonts and firefox but had it resolved. Here are the screenshots between the monaco and bitstream vera sans mono font:
    Monaco looks really nice while Bitstream Vera Sans Mono seems blur. This is what I have for my .Xdefaults:
    URxvt*font: xft:Monaco:size=7.5
    URxvt*boldFont: xft:Monaco:size=7.5
    and
    URxvt*font: xft:Bitstream Vera Sans Mono:size=8
    URxvt*boldFont: xft:Bitstream Vera Sans Mono:size=8
    And for font related settings, I just followed the one from the wiki :
    Xft.dpi: 96
    Xft.antialias: true
    Xft.rgba: rgb
    Xft.hinting: true
    Xft.hintstyle: hintslight
    Any help appreciated. Thanks!

    jasonwryan wrote:
    dsdeiz wrote:
    jasonwryan wrote:Bitstream Vera works fine in my terminals. Do you have a .fonts.conf?
    I don't think I have one. Mind sharing yours?
    Probably best if you create your own: https://wiki.archlinux.org/index.php/Font_Configuration
    Look at subpixel rendering and some of the troubleshooting sections. Post back if you have difficulties with it.
    I checked the Font Configuration wiki regarding subpixel rendering. I then did the one posted there which was:
    # cd /etc/fonts/conf.d
    # ln -s ../conf.avail/10-sub-pixel-rgb.conf
    Doesn't look any different to me though:
    I also have these in my /etc/fonts/conf.d directory:
    10-lcd-filter.conf -> ../conf.avail/10-lcd-filter.conf
    10-sub-pixel-rgb.conf -> ../conf.avail/10-sub-pixel-rgb.conf
    20-fix-globaladvance.conf -> ../conf.avail/20-fix-globaladvance.conf
    20-unhint-small-dejavu-sans.conf -> ../conf.avail/20-unhint-small-dejavu-sans.conf
    20-unhint-small-dejavu-sans-mono.conf -> ../conf.avail/20-unhint-small-dejavu-sans-mono.conf
    20-unhint-small-dejavu-serif.conf -> ../conf.avail/20-unhint-small-dejavu-serif.conf
    20-unhint-small-vera.conf -> ../conf.avail/20-unhint-small-vera.conf
    29-replace-bitmap-fonts.conf -> ../conf.avail/29-replace-bitmap-fonts.conf
    30-metric-aliases.conf -> ../conf.avail/30-metric-aliases.conf
    30-urw-aliases.conf -> ../conf.avail/30-urw-aliases.conf
    40-nonlatin.conf -> ../conf.avail/40-nonlatin.conf
    45-latin.conf -> ../conf.avail/45-latin.conf
    49-sansserif.conf -> ../conf.avail/49-sansserif.conf
    50-user.conf -> ../conf.avail/50-user.conf
    51-local.conf -> ../conf.avail/51-local.conf
    57-dejavu-sans.conf -> ../conf.avail/57-dejavu-sans.conf
    57-dejavu-sans-mono.conf -> ../conf.avail/57-dejavu-sans-mono.conf
    57-dejavu-serif.conf -> ../conf.avail/57-dejavu-serif.conf
    60-latin.conf -> ../conf.avail/60-latin.conf
    65-fonts-persian.conf -> ../conf.avail/65-fonts-persian.conf
    65-nonlatin.conf -> ../conf.avail/65-nonlatin.conf
    69-unifont.conf -> ../conf.avail/69-unifont.conf
    80-delicious.conf -> ../conf.avail/80-delicious.conf
    90-synthetic.conf -> ../conf.avail/90-synthetic.conf
    It's the first time I visited this directory so dunno if this info helps or anything..
    Thanks!

Maybe you are looking for