Re: Font Smoothing in Xterm

2007-08-15 Thread Jochen Schulz
Amit Uttamchandani:
 Xft.antialias: 1
 Xft.dpi: 93
 Xft.hinting: 1
 Xft.hintstyle: hintfull
 Xft.rgba: rgb
 
 Thank you for your suggestions. I will try this out. I am by the way using DWM
 for my window manager and I have an .Xdefaults file with some xterm font
 settings. Should I put your config there or in a separate .Xresources file?

No, Xdefaults should be fine if you are already using it.

J.
-- 
All participation is a myth.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: Font Smoothing in Xterm

2007-08-15 Thread Amit
Ok I tried putting it in .Xdefaults. This is my current .Xdefaults:

xterm*background: black
xterm*foreground: white 
xterm*cursorColor: SkyBlue
xterm*font: -bitstream-bitstream vera sans mono-medium-r-normal-
*-14-*-*-*-*-*-*-*
xterm*ScrollBar: off
xterm*SaveLines: 2500 
Xft.antialias: 1
Xft.dpi: 93
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.rgba: rgb


No change in xterm but GTK apps have changes. The menubar fonts in firefox, for
example, are smaller.

Amit


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Font Smoothing in Xterm

2007-08-15 Thread Liam O'Toole
On Wed, 15 Aug 2007 10:04:09 + (UTC)
Amit [EMAIL PROTECTED] wrote:

 Ok I tried putting it in .Xdefaults. This is my current .Xdefaults:
 
 xterm*background: black
 xterm*foreground: white 
 xterm*cursorColor: SkyBlue
 xterm*font: -bitstream-bitstream vera sans mono-medium-r-normal-
 *-14-*-*-*-*-*-*-*
 xterm*ScrollBar: off
 xterm*SaveLines: 2500 
 Xft.antialias: 1
 Xft.dpi: 93
 Xft.hinting: 1
 Xft.hintstyle: hintfull
 Xft.rgba: rgb
 
 
 No change in xterm but GTK apps have changes. The menubar fonts in
 firefox, for example, are smaller.
 
 Amit

The change in font size is due to the value of 'Xft.dpi'. Try 96
instead of 93.

You need to specify a truetype font using the 'faceName' resource, not
'font'. So the relevant lines would be:

XTerm*faceName: BitStream Vera Sans Mono
XTerm*faceSize: 10

You can test the values beforehand by supply them on the command line,
e.g.,

xterm -fa 'Bitstream Vera Sans Mono' -fs 10 

See the xterm man page for further details.

-- 

Liam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Font Smoothing in Xterm

2007-08-15 Thread Amit Uttamchandani
Wow!

That's it! Worked like a charm! Thank you so much!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Font Smoothing in Xterm

2007-08-14 Thread Jochen Schulz
Amit Uttamchandani:
 
 Anyways, font smoothing has been working quite well on this laptop screen 
 except
 for xterm. I finally figured out how to change the font in xterm to bitstream
 vera sans mono but the fonts in xterm look jagged and terrible in this screen.

Put

Xft.antialias: 1
Xft.dpi: 93
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.rgba: rgb

in your ~/.Xresources and make sure that it is read on every login by
doing sth. like 'xrdb  ~/.Xresources'. How to do that depends on your
desktop environment.

The dpi most probably needs to be adjusted.

J.
-- 
I spend money without thinking on products and clothes that I believe
will enhance my social standing.
[Agree]   [Disagree]
 http://www.slowlydownward.com/NODATA/data_enter2.html


signature.asc
Description: Digital signature


Re: Font Smoothing in Xterm

2007-08-14 Thread Amit Uttamchandani
 Xft.antialias: 1
 Xft.dpi: 93
 Xft.hinting: 1
 Xft.hintstyle: hintfull
 Xft.rgba: rgb
 
Thank you for your suggestions. I will try this out. I am by the way using DWM
for my window manager and I have an .Xdefaults file with some xterm font
settings. Should I put your config there or in a separate .Xresources file?

Thanks.
Amit




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Font Smoothing in Xterm

2007-08-13 Thread Amit Uttamchandani
Hey guys,

Been happily using debian etch for over a month now!

What an amazing system this is.

Anyways, font smoothing has been working quite well on this laptop screen except
for xterm. I finally figured out how to change the font in xterm to bitstream
vera sans mono but the fonts in xterm look jagged and terrible in this screen.

Any suggestions on how to work around this. I tried several methods including
dpkg-reconfigure -plow fontconfig-config but to no avail.

I know I could use the GNOME terminal or Konsole but they are not as quick as
xterm. Any other alternatives that you guys suggest?

Thanks,
Amit


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Font Smoothing in Xterm

2007-08-13 Thread Mathias Brodala
Hi Amit.

Amit Uttamchandani, 14.08.2007 02:36:
 I know I could use the GNOME terminal or Konsole but they are not as quick as
 xterm. Any other alternatives that you guys suggest?

I switched to xfce4-terminal and am happy with it. It has some fancy stuff, a
configurable interface and is damn fast. Give it a try.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Font Smoothing in Xterm

2007-08-13 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/13/07 19:36, Amit Uttamchandani wrote:
 Hey guys,
 
 Been happily using debian etch for over a month now!
 
 What an amazing system this is.
 
 Anyways, font smoothing has been working quite well on this laptop screen 
 except
 for xterm. I finally figured out how to change the font in xterm to bitstream
 vera sans mono but the fonts in xterm look jagged and terrible in this screen.
 
 Any suggestions on how to work around this. I tried several methods including
 dpkg-reconfigure -plow fontconfig-config but to no avail.
 
 I know I could use the GNOME terminal or Konsole but they are not as quick as
 xterm. Any other alternatives that you guys suggest?

Try rxvt.  On my CRT, the default font looks very nice.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGwPzxS9HxQb37XmcRAi/UAJ94WumkbAGHme9jIctiAWrVi79kOgCfTZRc
UupXUO3/19XD2XNv+hIoyw0=
=vd6Z
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Font Smoothing in Xterm

2007-08-13 Thread Michael Shuler
On 08/13/2007 07:36 PM, Amit Uttamchandani wrote:
 Anyways, font smoothing has been working quite well on this laptop screen 
 except
 for xterm. I finally figured out how to change the font in xterm to bitstream
 vera sans mono but the fonts in xterm look jagged and terrible in this screen.
 
 Any suggestions on how to work around this. I tried several methods including
 dpkg-reconfigure -plow fontconfig-config but to no avail.
 
 I know I could use the GNOME terminal or Konsole but they are not as quick as
 xterm. Any other alternatives that you guys suggest?

You will want an ANSI font for a terminal.  I used to use RXVT, and my
favorite was the VGA font from the site below - he has a few sizes:

http://home.earthlink.net/~us5zahns/enl/ansifont.html

I followed the hint, years ago, from the BitchX docs for selecting this
font, since it has all the right characters to render properly.

Kind Regards,
Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Font Smoothing in Xterm

2007-08-13 Thread Tom Rauchenwald
Amit Uttamchandani [EMAIL PROTECTED] writes:

 Hey guys,

 Been happily using debian etch for over a month now!

 What an amazing system this is.

 Anyways, font smoothing has been working quite well on this laptop
 screen except for xterm. I finally figured out how to change the font
 in xterm to bitstream vera sans mono but the fonts in xterm look
 jagged and terrible in this screen.

 Any suggestions on how to work around this. I tried several methods
 including dpkg-reconfigure -plow fontconfig-config but to no avail.

 I know I could use the GNOME terminal or Konsole but they are not as
 quick as xterm. Any other alternatives that you guys suggest?

I use urxvt (rxvt-unicode) with the following line in my ~/.Xresources
URxvt*font: xft:Bitstream Vera Sans Mono-10
Works like a charm.

 Thanks,
 Amit

Tom


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]