View previous topic :: View next topic |
Author |
Message |
jmccaskey n00b
Joined: 07 Sep 2004 Posts: 19
|
Posted: Tue Sep 14, 2004 4:31 pm Post subject: xterm no antialiased fonts please! (or aterm remove bold) |
|
|
Is there a way I can get xterm not to anti-alias my fonts? I want to use bitstream vera sans mono, 10pt. But I do not want it anti-aliased at all.
I would use aterm (since it doesn't antialias) but then I can't seem to disable bold fonts.
Here is my .Xdefaults for both, I'd be happy with either if I could get the font right!
XTerm*faceName: Bitstream Vera Sans Mono:style=Roman
ATerm*font: -bitstream-bitstream vera sans mono-medium-r-normal-*-12-120-75-75-*-*-*-*
ATerm*boldFont: -bitstream-bitstream vera sans mono-medium-r-normal-*-12-120-75-75-*-*-*-*
XTerm*faceSize: 10
XTerm*scrollBar: false
XTerm*background: black
XTerm*foreground: #bbbbbb
XTerm*cursorColor: #00ff00
XTerm*charClass: 33:48,37:48,45-47:48,64:48
!black
XTerm.color0: rgb:00/00/00
XTerm.color8: rgb:55/55/55
!red
XTerm.color1: rgb:bb/0/0
XTerm.color9: rgb:ff/55/55
!green
XTerm.color2: rgb:00/bb/00
XTerm.color10: rgb:55/ff/55
!yellow
XTerm.color3: rgb:bb/bb/00
XTerm.color11: rgb:ff/ff/55
!blue
XTerm.color4: rgb:00/00/bb
XTerm.color12: rgb:55/55/ff
!magenta
XTerm.color5: rgb:bb/00/bb
XTerm.color13: rgb:ff/55/ff
!cyan
XTerm.color6: rgb:00/bb/bb
XTerm.color14: rgb:55/ff/ff
!white
XTerm.color7: rgb:bb/bb/bb
XTerm.color15: rgb:ff/ff/ff
Xterm*saveLines: 10000 |
|
Back to top |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Tue Sep 14, 2004 4:37 pm Post subject: |
|
|
The simplest way is to switch to a font which is never anti-aliased; that's what I did when anti-aliasing proved too slow for terminal use.
Besides that, I'm not sure. Is it a normal xterm rather than a gnome-terminal or KDE terminal? |
|
Back to top |
|
|
Xk2c Apprentice
Joined: 17 Jul 2004 Posts: 240
|
Posted: Tue Sep 14, 2004 4:42 pm Post subject: |
|
|
change your Xdefault line:
Code: | !XTerm*faceName: Bitstream Vera Sans Mono:style=Roman
!XTerm*faceSize: 10 |
the ! in the binning marks this line as comment.
then
Code: | xrdb -load ~/.Xdefaults |
then start Xterm with:
Code: | xterm -ls -j -s -geometry 84x23 -fa "Bitstream Vera Mono" -fs 10 |
and also have a look here:
https://forums.gentoo.org/viewtopic.php?t=188326 _________________ useful Xterm, Aterm and RXVT-Unicode features |
|
Back to top |
|
|
jmccaskey n00b
Joined: 07 Sep 2004 Posts: 19
|
Posted: Tue Sep 14, 2004 5:59 pm Post subject: |
|
|
I followed your instructions and they had no affect on font anti-aliasing. The font is still anti-aliased.
And yes I am using standard xterm not gnome or kde's terminal applications. |
|
Back to top |
|
|
Xk2c Apprentice
Joined: 17 Jul 2004 Posts: 240
|
Posted: Tue Sep 14, 2004 6:08 pm Post subject: |
|
|
Sorry I missunderstood you.
I thought your problem were bad readability.
Don´t know if it´s even possible to have Bitstream Vera without AA in Xterm. _________________ useful Xterm, Aterm and RXVT-Unicode features |
|
Back to top |
|
|
jmccaskey n00b
Joined: 07 Sep 2004 Posts: 19
|
Posted: Tue Sep 14, 2004 6:13 pm Post subject: |
|
|
Ok, that was what I was afraid of, which is why I tried aterm. Aterm the font looks great, just what I want. But, I can't seem to disable bold fonts in aterm even though I've set both the font and boldFont items to be the same without bold. |
|
Back to top |
|
|
Xk2c Apprentice
Joined: 17 Jul 2004 Posts: 240
|
Posted: Tue Sep 14, 2004 6:24 pm Post subject: |
|
|
Ahhh one moment
EDIT !
from man aterm:
Note that when reading X resources, aterm recognizes two class names: XTerm and Aterm. The class name XTerm allows resources common to both aterm and xterm to be easily configured
Code: | XTerm*boldMode: false
XTerm*colorBD: MediumBlue
XTerm*colorBDMode: true |
ok this is just a try, haven´t test it.
and maybe you will try this font in Xterm.
Maybe u like it, it´s the one I used befor Bitsteam:
Code: | XTerm*font: -*-fixed-medium-r-normal-*-14-130-75-75-*-*-iso8859-15
XTerm*boldFont: -*-fixed-medium-r-normal-*-14-130-75-75-*-*-iso8859-15 |
_________________ useful Xterm, Aterm and RXVT-Unicode features |
|
Back to top |
|
|
jmccaskey n00b
Joined: 07 Sep 2004 Posts: 19
|
Posted: Tue Sep 14, 2004 11:37 pm Post subject: |
|
|
ahhh yes I got aterm working, although I'm not sure whats different I followed your instructions which failed :/ then I tried to revert, and suddenly aterm no longer showed bold!
Here is what I have now for anyone else who may look at this later:
XTerm*faceName: Bitstream Vera Sans Mono:style=Roman
XTerm*boldFont: Bitstream Vera Sans Mono:style=Roman
XTerm*faceSize: 10
XTerm*scrollBar: false
XTerm*background: black
XTerm*foreground: #bbbbbb
XTerm*cursorColor: #00ff00
XTerm*charClass: 33:48,37:48,45-47:48,64:48
!black
XTerm.color0: rgb:00/00/00
XTerm.color8: rgb:55/55/55
!red
XTerm.color1: rgb:bb/0/0
XTerm.color9: rgb:ff/55/55
!green
XTerm.color2: rgb:00/bb/00
XTerm.color10: rgb:55/ff/55
!yellow
XTerm.color3: rgb:bb/bb/00
XTerm.color11: rgb:ff/ff/55
!blue
XTerm.color4: rgb:00/00/bb
XTerm.color12: rgb:55/55/ff
!magenta
XTerm.color5: rgb:bb/00/bb
XTerm.color13: rgb:ff/55/ff
!cyan
XTerm.color6: rgb:00/bb/bb
XTerm.color14: rgb:55/ff/ff
!white
XTerm.color7: rgb:bb/bb/bb
XTerm.color15: rgb:ff/ff/ff
Xterm*saveLines: 10000
Strangely this still allows bold in xterm even though both fonts are the same, but aterm works exactly as I desire, no bold, no aa. Great! |
|
Back to top |
|
|
Xk2c Apprentice
Joined: 17 Jul 2004 Posts: 240
|
Posted: Tue Sep 14, 2004 11:53 pm Post subject: |
|
|
jmccaskey wrote: | ahhh yes I got aterm working, although I'm not sure whats different I followed your instructions which failed :/ |
You also did
Code: | xrdb -load ~/.Xdefaults |
, did you?
jmccaskey wrote: | Strangely this still allows bold in xterm even though both fonts are the same, but aterm works exactly as I desire, no bold, no aa. Great! |
from man xterm
Code: | -fb font (which is the same like XTerm*boldFont)
This option specifies a font to be used when displaying bold text. This font must be the same height and width as the normal font. If only one of the normal or bold fonts is specified, it will be used as the normal font and the bold font will be produced by overstriking this font. The default is to do overstriking of the normal font. See also the discussion of boldFont and boldMode resources. |
so I guess to define the same font for normal and bold is quite the same as default.
anyway if it´s working for you. geat
It took me days and weeks to find the "right" config for my Term.
have fun _________________ useful Xterm, Aterm and RXVT-Unicode features |
|
Back to top |
|
|
jmccaskey n00b
Joined: 07 Sep 2004 Posts: 19
|
Posted: Wed Sep 15, 2004 3:42 pm Post subject: |
|
|
Ahh you were right, I didnt' do xrdb -load. So when I rebooted this morning it was all messed up. I figured out that the settings that had made it look how I wanted were the:
XTerm*font: -*-fixed-medium-r-normal-*-14-130-75-75-*-*-iso8859-15
XTerm*boldFont: -*-fixed-medium-r-normal-*-14-130-75-75-*-*-iso8859-15
So I'm going with that now. Thanks again for all the help! |
|
Back to top |
|
|
Xk2c Apprentice
Joined: 17 Jul 2004 Posts: 240
|
|
Back to top |
|
|
|