|
|
| Next: installing ati graphics drivers |
| Author |
Message |
Bill Moseley External

Since: Apr 11, 2004 Posts: 21
|
Posted: Wed Jul 11, 2007 2:10 am Post subject: xterm font size Archived from groups: linux>debian>laptop (more info?) |
|
|
I just got a new T60p wide screen (1680x1050) running X Window System
Version 7.2.0 (xorg).
I'm using icewm as my window manager.
The xterm fonts are nice, but too small. I can use xfontsel to browse
fonts, but I can't seem to find the one xterm is using (so that I
might make it bigger). Is there a way to tell what font my xterm is
using?
My DPI setting is correct so shouldn't I be able to pick a font by
point size and have it be the correct size?
Plenty to pick from...
$ DISPLAY=:0.0 xlsfonts | wc -l
7358
--
Bill Moseley
moseley.DeleteThis@hank.org
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |
Jeff D External

Since: Jul 19, 2006 Posts: 2
|
Posted: Wed Jul 11, 2007 4:20 am Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Tue, 10 Jul 2007, Bill Moseley wrote:
> I just got a new T60p wide screen (1680x1050) running X Window System
> Version 7.2.0 (xorg).
>
> I'm using icewm as my window manager.
>
> The xterm fonts are nice, but too small. I can use xfontsel to browse
> fonts, but I can't seem to find the one xterm is using (so that I
> might make it bigger). Is there a way to tell what font my xterm is
> using?
>
> My DPI setting is correct so shouldn't I be able to pick a font by
> point size and have it be the correct size?
>
>
>
> Plenty to pick from...
>
> $ DISPLAY=:0.0 xlsfonts | wc -l
> 7358
>
>
>
>
> --
> Bill Moseley
> moseley.DeleteThis@hank.org
I believe it's fixed, but try something like this:
xterm -fn -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*
where 14 is your size. once you find one you can create ~/.Xresources with
this:
xterm*font: -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*
and xterm should pick it up from then on.
hth,
jeff
-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |
Paolo External

Since: Nov 09, 2004 Posts: 168
|
Posted: Wed Jul 11, 2007 7:40 am Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Tue, Jul 10, 2007 at 07:13:22PM -0700, Jeff D wrote:
> >might make it bigger). Is there a way to tell what font my xterm is
check /etc/X11/app-defaults/XTerm
> xterm -fn -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*
>
> where 14 is your size. once you find one you can create ~/.Xresources with
> this:
> xterm*font: -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*
you can also (pre)set xterm's font menu resources - here's mine (labels in
IT, good for my 800x600):
#--[/etc/X11/app-defaults/XTerm]--------
....
*fontMenu.Label: VT Fonts
*fontMenu*menuLabel.font: -adobe-helvetica-bold-r-normal-*-*-80-*-*-*-*-iso8859-
*
*fontMenu*font: -adobe-helvetica-medium-r-normal-*-*-80-*-*-*-*-iso8859-*
*fontMenu.menuLabel.foreground: deepskyblue1
*fontMenu*fontdefault*Label: Predefinito
*VT100*font: 7x13euro
*fontMenu*font1*Label: Illeggibile
*VT100*font1: nil2
*IconFont: nil2
*fontMenu*font2*Label: Micro
*VT100*font2: 5x7
*fontMenu*font3*Label: Piccolo
*VT100*font3: 6x12
*fontMenu*font4*Label: Medio
*VT100*font4: fixed
*fontMenu*font5*Label: Grande
*VT100*font5: 8x16
*fontMenu*font6*Label: Esagerato...
*VT100*font6: 9x15
*fontMenu*fontescape*Label: Sequenza Escape
*fontMenu*fontsel*Label: Selezione
!fontescape and fontsel overridden by application
*fontMenu*font-doublesize*Label: Ingrossa caratteri
*fontMenu*font-loadable*Label: VT220 Soft Fonts
....
--
paolo
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |
user External

Since: Jun 25, 2007 Posts: 5
|
Posted: Wed Jul 11, 2007 9:10 am Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Hi,
You can change the fontsize in /etc/X11/Xresourses/xterm (if you are the only
user). Mine is:
~$ cat /etc/X11/Xresources/xterm
XTerm*font: -*-terminus-medium-*-*-*-14-*-*-*-*-*-cp1251
XTerm*background: black
XTerm*foreground: gray
XTerm*scrollTtyOutput: no
XTerm*scrollKey: yes
On Tue, Jul 10, 2007 at 05:00:59PM -0700, Bill Moseley wrote:
> I just got a new T60p wide screen (1680x1050) running X Window System
> Version 7.2.0 (xorg).
>
> I'm using icewm as my window manager.
>
> The xterm fonts are nice, but too small. I can use xfontsel to browse
> fonts, but I can't seem to find the one xterm is using (so that I
> might make it bigger). Is there a way to tell what font my xterm is
> using?
>
> My DPI setting is correct so shouldn't I be able to pick a font by
> point size and have it be the correct size?
>
>
>
> Plenty to pick from...
>
> $ DISPLAY=:0.0 xlsfonts | wc -l
> 7358
>
>
>
>
> --
> Bill Moseley
> moseley.TakeThisOut@hank.org
>
>
> --
> To UNSUBSCRIBE, email to debian-laptop-REQUEST.TakeThisOut@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
>
--
I'm a gambler
And I'm a runner.
But you knew it
when you laid down.
I'm a picture
of ugly stories.
I'm a killer and I'm a clown.
(Alice Cooper)
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org |
|
| Back to top |
|
 |
Johannes Volkmann External

Since: Jul 11, 2007 Posts: 1
|
Posted: Wed Jul 11, 2007 12:10 pm Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Hello Bill!
Am Dienstag, den 10.07.2007, 17:00 -0700 schrieb Bill Moseley:
> I just got a new T60p wide screen (1680x1050) running X Window System
> Version 7.2.0 (xorg).
>
> I'm using icewm as my window manager.
>
> The xterm fonts are nice, but too small. I can use xfontsel to browse
> fonts, but I can't seem to find the one xterm is using (so that I
> might make it bigger). Is there a way to tell what font my xterm is
> using?
>
> My DPI setting is correct so shouldn't I be able to pick a font by
> point size and have it be the correct size?
>
Try CTRL + Left Click in an xterm window. Thats the xterm menu for that
I think.
Kind regards,
Johannes
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org |
|
| Back to top |
|
 |
Bill Moseley External

Since: Apr 11, 2004 Posts: 21
|
Posted: Wed Jul 11, 2007 2:40 pm Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Tue, Jul 10, 2007 at 07:13:22PM -0700, Jeff D wrote:
> On Tue, 10 Jul 2007, Bill Moseley wrote:
>
> >I just got a new T60p wide screen (1680x1050) running X Window System
> >Version 7.2.0 (xorg).
> >
> I believe it's fixed, but try something like this:
>
> xterm -fn -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*
>
> where 14 is your size. once you find one you can create ~/.Xresources with
> this:
> xterm*font: -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*
That's 14 pixels or points?
Ya, it's the finding one I'm not having much luck with. That's why
I was wondering if I could see what font xterm was actually selecting.
Then I could see other size options for that font using fontsel,
perhaps.
If I say xterm*font: 9x15 I assume that's pixels. At 1680x1050 that's
a bit small. It would be nice to find a scalable font so I could fine
tune the size.
I use .Xdefaults-<hostname> as xterm seems to read that every time it
runs, where if I use .Xresources I have to run xrdb -merge for xterm
to see the changes.
Fonts (and X11 in general) has been a weak point in my knowledge. I'm
never sure if I should be working in /etc/fonts/local.conf or in my
Xresources/Xdefaults file.
Thanks,
On all my machines when I try and bring up the xterm font menu it's
always just a small portion of the menu (it's clipped). If I can
manage to select a mostly hidden item then next time the full menu
shows. Been like the for years.
--
Bill Moseley
moseley DeleteThis @hank.org
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org |
|
| Back to top |
|
 |
Eric Cooper External

Since: Feb 09, 2005 Posts: 187
|
Posted: Wed Jul 11, 2007 5:30 pm Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Tue, Jul 10, 2007 at 05:00:59PM -0700, Bill Moseley wrote:
> The xterm fonts are nice, but too small. I can use xfontsel to browse
> fonts, but I can't seem to find the one xterm is using (so that I
> might make it bigger). Is there a way to tell what font my xterm is
> using?
Note that recent xterms can also use antialiased TrueType fonts, which
look much better IMO. But the option syntax is completely different:
For example:
XTerm*faceName: bitstream vera sans mono
XTerm*faceSize: 14
XTerm*faceSize1: 8
XTerm*faceSize2: 9
XTerm*faceSize3: 10
XTerm*faceSize4: 12
XTerm*faceSize5: 16
XTerm*faceSize6: 20
(I use a big monitor, and I have aging eyes, so I like bigger fonts ...)
--
Eric Cooper e c c @ c m u . e d u
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org |
|
| Back to top |
|
 |
Henrik Enberg External

Since: May 20, 2004 Posts: 11
|
Posted: Wed Jul 11, 2007 5:40 pm Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Bill Moseley <moseley DeleteThis @hank.org> writes:
> I was wondering if I could see what font xterm was actually selecting.
> Then I could see other size options for that font using fontsel,
> perhaps.
$ appres XTerm | grep VT100.font:
should print your current font.
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org |
|
| Back to top |
|
 |
Robert Goley External

Since: Jul 16, 2004 Posts: 15
|
Posted: Wed Jul 11, 2007 6:10 pm Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Starting the xterm with the option "-fn 7x14" helps the font and window size
without having to modify any files. I do this when having to deal with many
different X11 based machines.
Robert
On Wednesday 11 July 2007 02:35, ÀÊáàðà wrote:
> Hi,
> You can change the fontsize in /etc/X11/Xresourses/xterm (if you are the
> only user). Mine is:
>
> ~$ cat /etc/X11/Xresources/xterm
> XTerm*font: -*-terminus-medium-*-*-*-14-*-*-*-*-*-cp1251
> XTerm*background: black
> XTerm*foreground: gray
> XTerm*scrollTtyOutput: no
> XTerm*scrollKey: yes
>
> On Tue, Jul 10, 2007 at 05:00:59PM -0700, Bill Moseley wrote:
> > I just got a new T60p wide screen (1680x1050) running X Window System
> > Version 7.2.0 (xorg).
> >
> > I'm using icewm as my window manager.
> >
> > The xterm fonts are nice, but too small. I can use xfontsel to browse
> > fonts, but I can't seem to find the one xterm is using (so that I
> > might make it bigger). Is there a way to tell what font my xterm is
> > using?
> >
> > My DPI setting is correct so shouldn't I be able to pick a font by
> > point size and have it be the correct size?
> >
> >
> >
> > Plenty to pick from...
> >
> > $ DISPLAY=:0.0 xlsfonts | wc -l
> > 7358
> >
> >
> >
> >
> > --
> > Bill Moseley
> > moseley.TakeThisOut@hank.org
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-laptop-REQUEST.TakeThisOut@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmaster.TakeThisOut@lists.debian.org
>
> --
> I'm a gambler
> And I'm a runner.
> But you knew it
> when you laid down.
> I'm a picture
> of ugly stories.
> I'm a killer and I'm a clown.
> (Alice Cooper) |
|
| Back to top |
|
 |
user External

Since: Jun 25, 2007 Posts: 5
|
Posted: Wed Jul 11, 2007 9:20 pm Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Wed, Jul 11, 2007 at 12:03:44PM -0400, Robert Goley wrote:
> Starting the xterm with the option "-fn 7x14" helps the font and window size
> without having to modify any files. I do this when having to deal with many
> different X11 based machines.
It depends on a person. I prefer to tune programs once and then use my
configs at any machine.
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |
Zach External

Since: Jan 28, 2007 Posts: 5
|
Posted: Fri Jul 13, 2007 11:10 am Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On 7/11/07, Eric Cooper <ecc.TakeThisOut@cmu.edu> wrote:
>
> Note that recent xterms can also use antialiased TrueType fonts, which
> look much better IMO. But the option syntax is completely different:
> For example:
Hi Eric,
I run Debian testing and was wondering what package provides these
nice fonts and how do I enable them? I wish to use them in Firefox and
gnome-terminal also!
Zach
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org |
|
| Back to top |
|
 |
Thomas Dickey External

Since: Aug 09, 2006 Posts: 96
|
Posted: Fri Jul 13, 2007 12:50 pm Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Eric Cooper <ecc.TakeThisOut@cmu.edu> wrote:
> On Tue, Jul 10, 2007 at 05:00:59PM -0700, Bill Moseley wrote:
>> The xterm fonts are nice, but too small. I can use xfontsel to browse
>> fonts, but I can't seem to find the one xterm is using (so that I
>> might make it bigger). Is there a way to tell what font my xterm is
>> using?
> Note that recent xterms can also use antialiased TrueType fonts, which
"recent", since:
Patch #156 - 2001/4/28 - XFree86 4.0.3
Patch #151 - 2001/3/10 - XFree86 4.0.2
Patch #148 - 2000/10/31 - XFree86 4.0.1d
http://invisible-island.net/xterm/xterm.log.html
> look much better IMO. But the option syntax is completely different:
> For example:
> XTerm*faceName: bitstream vera sans mono
> XTerm*faceSize: 14
> XTerm*faceSize1: 8
> XTerm*faceSize2: 9
> XTerm*faceSize3: 10
> XTerm*faceSize4: 12
> XTerm*faceSize5: 16
> XTerm*faceSize6: 20
btw, If the face-sizes aren't specified, they're computed based on the
bitmap font-sizes...
> (I use a big monitor, and I have aging eyes, so I like bigger fonts ...)
I usually use the largest bitmap fonts - the TrueType fonts have generally
poor coverage of Unicode.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org |
|
| Back to top |
|
 |
Thomas Dickey External

Since: Aug 09, 2006 Posts: 96
|
Posted: Fri Jul 13, 2007 1:00 pm Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Bill Moseley <moseley.DeleteThis@hank.org> wrote:
> On Tue, Jul 10, 2007 at 07:13:22PM -0700, Jeff D wrote:
>> where 14 is your size. once you find one you can create ~/.Xresources with
>> this:
>> xterm*font: -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*
> That's 14 pixels or points?
supposedly points
> Ya, it's the finding one I'm not having much luck with. That's why
> I was wondering if I could see what font xterm was actually selecting.
> Then I could see other size options for that font using fontsel,
> perhaps.
I use a script that takes the result from xfontsel and applies it to xfd
> On all my machines when I try and bring up the xterm font menu it's
> always just a small portion of the menu (it's clipped). If I can
> manage to select a mostly hidden item then next time the full menu
> shows. Been like the for years.
http://invisible-island.net/xterm/xterm.faq.html#tiny_menus
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |
Thomas Dickey External

Since: Aug 09, 2006 Posts: 96
|
Posted: Fri Jul 13, 2007 1:00 pm Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Henrik Enberg <henrik.enberg.RemoveThis@telia.com> wrote:
> Bill Moseley <moseley.RemoveThis@hank.org> writes:
>> I was wondering if I could see what font xterm was actually selecting.
>> Then I could see other size options for that font using fontsel,
>> perhaps.
> $ appres XTerm | grep VT100.font:
> should print your current font.
actually it may not - you can always get a different value by a
command-line option, and (due to the way resource values combine),
just the top-level class may not be the same as one of the leaves
of the hierarchy...
(X's API doesn't have a reliable way of showing the whole resource
hierarchy.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org |
|
| Back to top |
|
 |
Eric Cooper External

Since: Feb 09, 2005 Posts: 187
|
Posted: Sat Jul 14, 2007 2:12 am Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
On Fri, Jul 13, 2007 at 05:02:13AM -0400, Zach wrote:
> On 7/11/07, Eric Cooper <ecc.DeleteThis@cmu.edu> wrote:
>>
>> Note that recent xterms can also use antialiased TrueType fonts, which
>> look much better IMO. But the option syntax is completely different:
>> For example:
>
> Hi Eric,
>
> I run Debian testing and was wondering what package provides these
> nice fonts and how do I enable them? I wish to use them in Firefox and
> gnome-terminal also!
The specific ones I mentioned are in the ttf-bitstream-vera package
(see also ttf-dejavu).
You can use "apt-cache search" to find things like this, or the
search page at packages.debian.org.
Once installed, you should able to select them in the various gnome and
firef^Wiceweasel font dialogs.
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |
Zach External

Since: Jan 28, 2007 Posts: 5
|
Posted: Sat Jul 14, 2007 2:12 am Post subject: Re: xterm font size [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Thanks.
Zach
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|