Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

xterm .Xdefaults & font size

171 views
Skip to first unread message

Pál Csányi

unread,
Sep 28, 2007, 5:10:09 PM9/28/07
to
2007/9/28, Neil Watson <deb...@watson-wilson.ca>:
> On Fri, Sep 28, 2007 at 10:43:38PM +0200, Pál Csányi wrote:
> >Where can I pass the -fn argument to xterm to set up font size, using dwm?
>
> You can assign you xterm properties in .Xdefaults:
>
> # fonts
> xterm*faceName: Bitstream Vera Sans Mono:style=Bold

I edit the .Xdefaults :
xterm.*faceName: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*

run xterm but the font do not changes. Why?

--
Regards, Paul Csanyi
http://www.freewebs.com/csanyi-pal/index.htm

Peter Smerdon

unread,
Sep 28, 2007, 5:30:12 PM9/28/07
to
"Pál Csányi" <csan...@gmail.com> writes:

> 2007/9/28, Neil Watson <deb...@watson-wilson.ca>:
>> On Fri, Sep 28, 2007 at 10:43:38PM +0200, Pál Csányi wrote:
>> >Where can I pass the -fn argument to xterm to set up font size, using dwm?
>>
>> You can assign you xterm properties in .Xdefaults:
>>
>> # fonts
>> xterm*faceName: Bitstream Vera Sans Mono:style=Bold
>
> I edit the .Xdefaults :
> xterm.*faceName: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*
>
> run xterm but the font do not changes. Why?

did you run 'xrdb -merge ~/.Xresources' to add the changed resources or login/out of X?
--

Peter Smerdon
psme...@magma.ca

Pál Csányi

unread,
Sep 28, 2007, 5:40:11 PM9/28/07
to
2007/9/28, Peter Smerdon <psme...@magma.ca>:

Yes, I did, I logout/login of X.

Liam O'Toole

unread,
Sep 28, 2007, 6:10:10 PM9/28/07
to
On Fri, 28 Sep 2007 23:08:21 +0200
"Pál Csányi" <csan...@gmail.com> wrote:

> 2007/9/28, Neil Watson <deb...@watson-wilson.ca>:
> > On Fri, Sep 28, 2007 at 10:43:38PM +0200, Pál Csányi wrote:
> > >Where can I pass the -fn argument to xterm to set up font size,
> > >using dwm?
> >
> > You can assign you xterm properties in .Xdefaults:
> >
> > # fonts
> > xterm*faceName: Bitstream Vera Sans Mono:style=Bold
>
> I edit the .Xdefaults :
> xterm.*faceName: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*
>
> run xterm but the font do not changes. Why?
>

The faceName resource is used to select fonts using the FreeType
library. I am not familiar with the 'biznet' font. Is it available to
FreeType? You can check using the 'fc-list' command.

--

Liam

Andrew Sackville-West

unread,
Sep 28, 2007, 6:30:14 PM9/28/07
to
On Fri, Sep 28, 2007 at 11:37:36PM +0200, Pál Csányi wrote:
> 2007/9/28, Peter Smerdon <psme...@magma.ca>:
> > "Pál Csányi" <csan...@gmail.com> writes:
> >
> > > 2007/9/28, Neil Watson <deb...@watson-wilson.ca>:
> > >> On Fri, Sep 28, 2007 at 10:43:38PM +0200, Pál Csányi wrote:
> > >> >Where can I pass the -fn argument to xterm to set up font size, using dwm?
> > >>
> > >> You can assign you xterm properties in .Xdefaults:
> > >>
> > >> # fonts
> > >> xterm*faceName: Bitstream Vera Sans Mono:style=Bold
> > >
> > > I edit the .Xdefaults :
> > > xterm.*faceName: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*
> > >

The closest I have to xterm installed is aterm and it specifies that
for '-fn' argument, use the resource name 'font' so try

xterm*font: -biznetblachblahblah
xterm*boldfont: -biznetblahblhablah

> > > run xterm but the font do not changes. Why?
> >
> > did you run 'xrdb -merge ~/.Xresources' to add the changed resources or login/out of X?
>
> Yes, I did, I logout/login of X.

that may require a full restart of X, I'm not sure, but just FTR,
if you're already editing ~/.Xdefaults on a cli somewhere, its pretty
darn easy to do the `xrdb -merge ~/.Xdefaults && xterm` and see
results immediately. Also, I use ~/.Xdefaults not ~/.Xresources. I'm
not sure if that's critical, but sure could be.

A

signature.asc

Pál Csányi

unread,
Sep 29, 2007, 3:00:22 AM9/29/07
to
2007/9/29, Liam O'Toole <liam.p...@gmail.com>:

No, it is not available. I checked out with 'fc-list'.

So, I decide to use rxvt (xterm that support the biznet fonts).

Pál Csányi

unread,
Sep 29, 2007, 3:00:22 AM9/29/07
to
2007/9/28, Andrew Sackville-West <and...@farwestbilliards.com>:

Thank you all for help!

Thomas Dickey

unread,
Sep 29, 2007, 3:30:09 PM9/29/07
to
Pál Csányi <csan...@gmail.com> wrote:

> I edit the .Xdefaults :
> xterm.*faceName: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*

xterm.*font: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*

(the package description for biznet font says it is a bitmap font)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Thomas Dickey

unread,
Sep 29, 2007, 7:30:14 PM9/29/07
to
Pál Csányi <csan...@gmail.com> wrote:

> I edit the .Xdefaults :
> xterm.*faceName: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*

xterm.*font: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*

(the package description for biznet font says it is a bitmap font)


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

.

Thomas Dickey

unread,
Sep 29, 2007, 11:50:09 PM9/29/07
to
Pál Csányi <csan...@gmail.com> wrote:

> I edit the .Xdefaults :
> xterm.*faceName: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*

xterm.*font: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*

(the package description for biznet font says it is a bitmap font)


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian..org
.
.

Thomas Dickey

unread,
Sep 30, 2007, 1:30:10 AM9/30/07
to
Pál Csányi <csan...@gmail.com> wrote:

> I edit the .Xdefaults :
> xterm.*faceName: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*

xterm.*font: -biznet-fixed-*-*-*-*-24-*-*-*-*-*-*-*

(the package description for biznet font says it is a bitmap font)


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian...org
.
..
.

0 new messages