You are not logged in.

#1 2010-11-11 01:38:36

dsdeiz
Member
Registered: 2009-08-17
Posts: 69

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:

tNjRkdw

tNjRlMQ

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 big_smile:

Xft.dpi:        96
Xft.antialias:  true
Xft.rgba:       rgb
Xft.hinting:    true
Xft.hintstyle:   hintslight

Any help appreciated. Thanks!

Offline

#2 2010-11-11 06:40:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Blur terminal font...

Bitstream Vera works fine in my terminals. Do you have a .fonts.conf?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2010-11-11 07:13:51

bazmonkey
Member
Registered: 2010-11-03
Posts: 21

Re: Blur terminal font...

It looks like it's doing sub-pixel anti-aliasing with the Bitstream font, but not with Monaco.  It's that coloring that's getting to you, right?

Try:

URxvt*font: xft:Bitstream Vera Sans Mono:size=8:antialias=false
URxvt*boldFont: xft:Bitstream Vera Sans Mono:size=8:antialias=false

Offline

#4 2010-11-11 10:40:14

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: Blur terminal font...

Jesus, why are you using xft? Stop, now.
Pick something from xlsfonts, preferably monte carlo, profont or terminus. And turn off xft.

Offline

#5 2010-11-12 02:30:44

dsdeiz
Member
Registered: 2009-08-17
Posts: 69

Re: Blur terminal font...

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?

bazmonkey wrote:

It looks like it's doing sub-pixel anti-aliasing with the Bitstream font, but not with Monaco.  It's that coloring that's getting to you, right?
Try:

URxvt*font: xft:Bitstream Vera Sans Mono:size=8:antialias=false
URxvt*boldFont: xft:Bitstream Vera Sans Mono:size=8:antialias=false

Seems sharper but looks a bit weird. big_smile

tNjR0bQ

dmz wrote:

Jesus, why are you using xft? Stop, now.
Pick something from xlsfonts, preferably monte carlo, profont or terminus. And turn off xft.

Monaco looks fine though. I'll probably just stick to it together with terminus.

Thanks!

Last edited by dsdeiz (2010-11-12 02:31:18)

Offline

#6 2010-11-12 02:37:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Blur terminal font...

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.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2010-11-12 08:42:32

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Blur terminal font...

dmz wrote:

Jesus, why are you using xft? Stop, now.
Pick something from xlsfonts, preferably monte carlo, profont or terminus. And turn off xft.

There's nothing wrong with using xft as long as there are no better freetype engines available, so we can leave jesus out of this.


ᶘ ᵒᴥᵒᶅ

Offline

#8 2010-11-14 11:03:23

dsdeiz
Member
Registered: 2009-08-17
Posts: 69

Re: Blur terminal font...

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:

tNjVucg

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

Thanks!

Offline

#9 2010-11-14 18:49:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Blur terminal font...

That fix is for the Ubuntu packages - are you using them?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2010-11-15 04:10:23

dsdeiz
Member
Registered: 2009-08-17
Posts: 69

Re: Blur terminal font...

jasonwryan wrote:

That fix is for the Ubuntu packages - are you using them?

Nope, I'm using the official ones from the repo. Though I previously installed the Ubuntu packages.

Offline

Board footer

Powered by FluxBB