You are not logged in.

#1 2011-09-02 08:32:39

nblock
Member
From: Austria
Registered: 2008-08-06
Posts: 123
Website

underscore is not displayed in terminal

Hi,
The underscore is only displayed when i use a pixelsize != 14 for Bitstream Vera Sans Mono in my .Xdefaults.
This is the relevant section:

!--[Fonts]--!
URxvt*font:            xft:Bitstream Vera Sans Mono:pixelsize=14:antialias=false
URxvt*italicFont:      xft:Bitstream Vera Sans Mono:italic:autohint=true:antialias=false
URxvt*boldFont:        xft:Bitstream Vera Sans Mono:bold:autohint=true:antialias=false
URxvt*boldItalicFont:  xft:Bitstream Vera Sans Mono:bold:italic:autohint=true:antialias=false

When i change the pixelsize to, say 15, the underscore is displayed again.

Does anyone know the reason for this behaviour and how to fix this without changing the font size?

thx!

Offline

#2 2011-09-18 23:47:02

daedalus
Member
From: Mountain View
Registered: 2007-09-28
Posts: 50
Website

Re: underscore is not displayed in terminal

The exact same thing is happening to me using DejaVu Sans Mono, size 14.

Anyone know of a fix?

Offline

#3 2011-12-04 07:21:43

quabug
Member
Registered: 2011-12-04
Posts: 1

Re: underscore is not displayed in terminal

+1 about this issue

URxvt*font: xft:DejaVu Sans Mono:pixelsize=14

Offline

#4 2011-12-08 06:26:16

jinleileiking
Member
Registered: 2011-05-28
Posts: 51

Re: underscore is not displayed in terminal

I have this in gvim using  dejavu mono = 10.5

env: xfce4 + arch + gvim

Last edited by jinleileiking (2011-12-08 06:46:59)

Offline

#5 2011-12-12 02:33:38

jinleileiking
Member
Registered: 2011-05-28
Posts: 51

Re: underscore is not displayed in terminal

Any solution ????

Offline

#6 2011-12-12 10:33:47

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: underscore is not displayed in terminal

I fear there is no simple solution. I experienced this in several applications since years, too, forcing me to use a pixelsize of 11. Maybe some kind of roundoff error?


To know or not to know ...
... the questions remain forever.

Offline

#7 2011-12-12 12:37:23

jinleileiking
Member
Registered: 2011-05-28
Posts: 51

Re: underscore is not displayed in terminal

bernarcher wrote:

I fear there is no simple solution. I experienced this in several applications since years, too, forcing me to use a pixelsize of 11. Maybe some kind of roundoff error?

Are you the same ??

gvim + dejavu 10.5 ??

Offline

#8 2011-12-21 22:43:19

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,564
Website

Re: underscore is not displayed in terminal

Same problem here with xft:Dejavu Sans Mono:pixelsize=14:antialias=true.

It seems other pixelsizes work, or 14 will work with antialias=false, but that's ugly.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2012-01-22 22:57:53

f4hy
Member
From: Pittsburgh Pa
Registered: 2009-02-08
Posts: 55

Re: underscore is not displayed in terminal

Same problem here. But I did not always have this issue. I don't remember when exactly, I wish I did so I could figure out what package update messed it up.

Offline

#10 2012-01-22 23:09:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,564
Website

Re: underscore is not displayed in terminal

f4hy, there was a recent update of the ms-fonts aur package.  Perhaps your chosen font was upgraded.

I've been able to happily avoid this problem by choosing another font.  In my case I switched to Inconsolata (I believe it may have been made by an archer here), and it looks great.

Edit: xterm and urxvt were also just updated, so I guess that doesn't help narrow it down.

Last edited by Trilby (2012-01-22 23:18:14)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#11 2012-01-23 12:52:31

GordonGR
Member
From: Thessaloniki, Greece
Registered: 2011-11-07
Posts: 276

Re: underscore is not displayed in terminal

I have it with Ubuntu mono 9 as well. It's not very annoying, though, it's usually obvious when the underscore is lacking.


Intel(R) Celeron(R) CPU E3400 @ 2.60GHz, x86_64. AURs.

“No one without the knowledge of geometry may enter.“ Plato.

Offline

#12 2012-02-24 19:57:56

caolan
Member
Registered: 2007-10-16
Posts: 12
Website

Re: underscore is not displayed in terminal

I have this problem with DejaVu Sans Mono in urxvt with pixelsize=14, I can fix it by changing the hintstyle in .fonts.conf to "hintfull" instead of "hintslight". Only "hintfull" works, "hintmedium" does not. Unfortunately I really don't like the look of the fonts with hintfull, preferring the softer, bolder look of hintslight.

Edit: I switched to Menlo in the end, it's similar to DejaVu Sans Mono but doesn't seem to have any problem displaying underscores with hintslight.

Last edited by caolan (2012-02-24 20:36:01)

Offline

#13 2012-03-06 19:55:08

foudfou
Member
Registered: 2011-08-25
Posts: 5

Re: underscore is not displayed in terminal

Offline

#14 2016-03-04 21:25:08

matrs
Member
Registered: 2013-05-14
Posts: 13

Re: underscore is not displayed in terminal

Just here to say that  one week ago i started noticing this problem, so it is still present.

Offline

#15 2016-04-13 18:48:54

larryniven
Member
Registered: 2011-04-30
Posts: 3

Re: underscore is not displayed in terminal

Sorry to necro bump the thread. I just notice the problem after upgrading to gnome 3.20.

Setting

URxvt.lineSpace: 1

in .Xresources (or use xrdb) solves the problem for me.

Offline

#16 2016-04-13 19:10:00

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: underscore is not displayed in terminal

Thank you for sharing your solution. However you know you shouldn't necro bump.

Closing.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB