You are not logged in.

#1 2012-08-24 19:26:32

noshelter
Member
Registered: 2012-08-24
Posts: 4

[SOLVED] Terminus font blur problem

I have the following setting in my .Xresources based on output from xfontsel:

xterm*font: -*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*

However, I have an issue with the font being blurry on the right hand side of my screen. If I look close enough, I can see that letters such as 't' that are supposed to have the vertical bar drawn on one pixel, is actually being drawn on two pixels; and only on that side of the screen.

The monitor that I am using is ViewSonic VA702b; 17 inch diagonal, resolution 1280x1024. I calculated the dpi to be 96, which is what is set.
I am not sure how to proceed next to solve this issue.

Any hints are welcome, thanks.

Last edited by noshelter (2012-08-26 19:56:12)

Offline

#2 2012-08-24 23:45:54

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [SOLVED] Terminus font blur problem

First try setting the font with this, which may be a simpler method:

XTerm*faceName:    Terminus

That works for me.  If the default size works for you then everything is OK.

If the size is incorrect, and it seems huge to me, there are two ways to change the font size:

! Method 1 -- change the line to this:
XTerm*faceName:    Terminus:pixelsize=14

! Method 2 -- takes two lines to set font and size:
XTerm*faceName:    Terminus
XTerm*faceSize:    14

Note that the two size specifications are not equivalent.  A faceSize of 14 does not give the same character box dimension as a pixelsize of 14.  I think the spacing between the lines changes too, depending on the method used to specify size.  I'm not fond of Terminus so I haven't played with it much.

Edit: I should check before posting to see if I any words out.

I don't think this will cure the blurring but changing the font size just may work.

Last edited by thisoldman (2012-08-24 23:50:19)

Offline

#3 2012-08-25 17:38:54

noshelter
Member
Registered: 2012-08-24
Posts: 4

Re: [SOLVED] Terminus font blur problem

Thanks for the hints.

I tried all 3 methods, but none with success. I also tried with a different monitor, to make sure this one wasn't faulty, but I still had issues.
I can't explain why moving the window in that specific region causes another strip of pixels to be grey-ed out.

I tried to get Inconsolata to work, but I ran into issues with how the font was rendered, similar to what has been posted around here before. I didn't have enough time to get the font to work as I wanted to. I'll try Consolas and see if that goes better.

Offline

#4 2012-08-25 21:31:00

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [SOLVED] Terminus font blur problem

OK, you're reasonably sure the problem isn't the monitor.  If you are able, it would be great if you tried your monitor on a different machine.

Are you able to try a different OS, even a live CD, on your machine?  I would think the next thing to test is whether it's the graphics driver or if it's the graphics card.  A different OS might be the fastest way to tell if it's a hardware or software problem.

Edit —
It would help if you could post a picture of your screen.  And to help you see the problem, there's xmag (install the package xorg-xmag).  xmag is a nice little screen magnifier.

Last edited by thisoldman (2012-08-25 21:39:09)

Offline

#5 2012-08-25 22:16:07

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

Re: [SOLVED] Terminus font blur problem

Is the blur still visible in a screenshot (with scrot or so)? If not there is probably a malfunction in your video hardware. A screen photo would be helpful then.


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

Offline

#6 2012-08-26 07:21:53

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Terminus font blur problem

If you're using proprietary video drivers, try the open source drivers (nouveau vs nvidia, radeon vs catalyst). This type of problem could be because you're using the generic VESA driver.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#7 2012-08-26 19:55:33

noshelter
Member
Registered: 2012-08-24
Posts: 4

Re: [SOLVED] Terminus font blur problem

Here is a screenshot:
http://i.imgur.com/hdzf9.png

I took a look at it on a different computer -- no blur. I even turned on the laptop monitor for this computer (it's really burnt out, so I only use it to setup the external one, but it still has some good screen areas) and I saw no blur.

So it must be something with the way I have the external monitor setup -- this is probably why I saw the issue on a different monitor also.
I am using the Intel driver to correspond to:

lspci | grep Graphics
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)

I'll do some more reading on graphics drivers; I was wrong to think this was a font issue.

Thanks for steering me in the right direction.

EDIT:
Sorry for the screenshot issue; left it as a link.

Last edited by noshelter (2012-08-26 20:05:37)

Offline

#8 2012-08-26 20:02:39

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: [SOLVED] Terminus font blur problem

@noshelter, check this on how to post screenshots: https://bbs.archlinux.org/viewtopic.php?id=146254
Just a guess, since I still can't see the screenshot, but do you have the bold font defined as well?

xterm*font: -*-terminus-bold-r-*-*-14-*-*-*-*-*-*-*

edit: I thought it might have been something with the bold that you were describing, never mind about that part. Sorry.

Last edited by stlarch (2012-08-26 20:13:14)

Offline

#9 2012-08-26 20:14:13

noshelter
Member
Registered: 2012-08-24
Posts: 4

Re: [SOLVED] Terminus font blur problem

@stlarch: I do -- it looks better, but that is simply because the letters are thicker, so the extra gray pixel line doesn't add that much to the blur. The root issue is still there, I just have to read up on the video drivers and figure this out.

Thanks for the hints.

Offline

Board footer

Powered by FluxBB