Re: [OT]Change font for aterm

2008-06-14 Thread Kemian Dang
Thank you, I am trying 14 and 16 pix to find one suits me :)

2008/6/11 Frank Shute [EMAIL PROTECTED]:
 On Wed, Jun 11, 2008 at 12:39:21PM +0100, Kemian Dang wrote:

 2008/6/8 Frank Shute [EMAIL PROTECTED]:
  On Sun, Jun 08, 2008 at 06:06:38PM +0100, Kemian Dang wrote:
 
  2008/6/8 Frank Shute [EMAIL PROTECTED]:
   On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote:
  
   Dear All,
  
   I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change
   the configure in the menu.
   Now I am using aterm, but I also want to use that font.
  
   I can see it by fc-list:
  
   [3:39pm:kemian] ~ fc-list | grep Sans Mono
   Bitstream Vera Sans Mono:style=Bold
   Bitstream Vera Sans Mono:style=Oblique
   Bitstream Vera Sans Mono:style=Bold Oblique
   Bitstream Vera Sans Mono:style=Roman
  
   I add entry in .Xresources:
  
   Aterm*font:   xft:Bitstream Vera Sans Mono:style=Roman
  
   Use:
  
   Aterm*font: -bitstream-bitstream\ vera\ sans\ 
   mono-medium-r-normal--16-0-0-0-m-0-iso8859-15
  
   in ~/.Xdefaults (all on one line).
  
 
  aterm still complain can not find this font.
 
   Then:
  
   $ xrdb -load
 
  Sorry. should have been:
 
  $ xrdb -load ~/.Xdefaults
 
 
  This command did not give any output, it held there and nothing happened.
  I have to Ctrl+C to stop it.
 
  
   The size of the font can be varied by changing the 16 in that line.
  
   $ xlsfonts | less
 
  This did not give the output of bitstream vera sans mono.
 
  Does the dir /usr/local/lib/X11/fonts/bitstream-vera/ exist?
 
  If not you have to install: x11-fonts/bitstream-vera and follow the
  instructions to change your xorg.conf and then restart X.
 
  If it exists, you have to add the dir to xorg.conf like so:
 
 FontPath /usr/local/lib/X11/fonts/bitstream-vera/
 
  under the Files section. Restart X.
 
  X should read ~/.Xdefaults on start up  your font will be used for
  aterm.
 
  xlsfonts should also now list the bitstream vera fonts.
 
  Regards,

 Thanks a lot, it works.
 There is no font path in the xorg.conf, and after I add them in, it comes 
 out.
 Another thing is, it did not recognize the \  to space, the   will work.
 The font line I am using is:
 Aterm*font: -bitstream-bitstream vera sans
 mono-medium-r-normal--0-0-0-0-m-0-iso8859-1

 Though the font seems a little bigger than I suppose, anyway, it works.

 Hi Kemian,

 I'm glad you got it working.

 To change the size of the font, you want to change the the first 0 in
 the line to the font size you require in pixels. E.g: I use:

 -bitstream-bitstream vera sans mono-medium-r-normal--16-0-0-0-m-0-iso8859-15

 for a 16px font. I like it big!

 You can test it beforehand by using xfd (in ports if not already
 installed) i.e:

 $ xfd -fn -bitstream-bitstream vera sans mono\
 -medium-r-normal--16-0-0-0-m-0-iso8859-15

 Use iso8859-15 if you want € (the euro) in your character set.


 Sorry for replying later due to lot of work these days.


 No worries. I assumed you'd got it to work.

 --
 Best wishes,
 Kemian

 Regards,

 --

  Frank


  Contact info: http://www.shute.org.uk/misc/contact.html





-- 
Best wishes,
Kemian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT]Change font for aterm

2008-06-11 Thread Kemian Dang
2008/6/8 Frank Shute [EMAIL PROTECTED]:
 On Sun, Jun 08, 2008 at 06:06:38PM +0100, Kemian Dang wrote:

 2008/6/8 Frank Shute [EMAIL PROTECTED]:
  On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote:
 
  Dear All,
 
  I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change
  the configure in the menu.
  Now I am using aterm, but I also want to use that font.
 
  I can see it by fc-list:
 
  [3:39pm:kemian] ~ fc-list | grep Sans Mono
  Bitstream Vera Sans Mono:style=Bold
  Bitstream Vera Sans Mono:style=Oblique
  Bitstream Vera Sans Mono:style=Bold Oblique
  Bitstream Vera Sans Mono:style=Roman
 
  I add entry in .Xresources:
 
  Aterm*font:   xft:Bitstream Vera Sans Mono:style=Roman
 
  Use:
 
  Aterm*font: -bitstream-bitstream\ vera\ sans\ 
  mono-medium-r-normal--16-0-0-0-m-0-iso8859-15
 
  in ~/.Xdefaults (all on one line).
 

 aterm still complain can not find this font.

  Then:
 
  $ xrdb -load

 Sorry. should have been:

 $ xrdb -load ~/.Xdefaults


 This command did not give any output, it held there and nothing happened.
 I have to Ctrl+C to stop it.

 
  The size of the font can be varied by changing the 16 in that line.
 
  $ xlsfonts | less

 This did not give the output of bitstream vera sans mono.

 Does the dir /usr/local/lib/X11/fonts/bitstream-vera/ exist?

 If not you have to install: x11-fonts/bitstream-vera and follow the
 instructions to change your xorg.conf and then restart X.

 If it exists, you have to add the dir to xorg.conf like so:

FontPath /usr/local/lib/X11/fonts/bitstream-vera/

 under the Files section. Restart X.

 X should read ~/.Xdefaults on start up  your font will be used for
 aterm.

 xlsfonts should also now list the bitstream vera fonts.

 Regards,

 --

  Frank


  Contact info: http://www.shute.org.uk/misc/contact.html



Thanks a lot, it works.
There is no font path in the xorg.conf, and after I add them in, it comes out.
Another thing is, it did not recognize the \  to space, the   will work.
The font line I am using is:
Aterm*font: -bitstream-bitstream vera sans
mono-medium-r-normal--0-0-0-0-m-0-iso8859-1

Though the font seems a little bigger than I suppose, anyway, it works.

Sorry for replying later due to lot of work these days.

-- 
Best wishes,
Kemian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT]Change font for aterm

2008-06-11 Thread Frank Shute
On Wed, Jun 11, 2008 at 12:39:21PM +0100, Kemian Dang wrote:

 2008/6/8 Frank Shute [EMAIL PROTECTED]:
  On Sun, Jun 08, 2008 at 06:06:38PM +0100, Kemian Dang wrote:
 
  2008/6/8 Frank Shute [EMAIL PROTECTED]:
   On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote:
  
   Dear All,
  
   I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change
   the configure in the menu.
   Now I am using aterm, but I also want to use that font.
  
   I can see it by fc-list:
  
   [3:39pm:kemian] ~ fc-list | grep Sans Mono
   Bitstream Vera Sans Mono:style=Bold
   Bitstream Vera Sans Mono:style=Oblique
   Bitstream Vera Sans Mono:style=Bold Oblique
   Bitstream Vera Sans Mono:style=Roman
  
   I add entry in .Xresources:
  
   Aterm*font:   xft:Bitstream Vera Sans Mono:style=Roman
  
   Use:
  
   Aterm*font: -bitstream-bitstream\ vera\ sans\ 
   mono-medium-r-normal--16-0-0-0-m-0-iso8859-15
  
   in ~/.Xdefaults (all on one line).
  
 
  aterm still complain can not find this font.
 
   Then:
  
   $ xrdb -load
 
  Sorry. should have been:
 
  $ xrdb -load ~/.Xdefaults
 
 
  This command did not give any output, it held there and nothing happened.
  I have to Ctrl+C to stop it.
 
  
   The size of the font can be varied by changing the 16 in that line.
  
   $ xlsfonts | less
 
  This did not give the output of bitstream vera sans mono.
 
  Does the dir /usr/local/lib/X11/fonts/bitstream-vera/ exist?
 
  If not you have to install: x11-fonts/bitstream-vera and follow the
  instructions to change your xorg.conf and then restart X.
 
  If it exists, you have to add the dir to xorg.conf like so:
 
 FontPath /usr/local/lib/X11/fonts/bitstream-vera/
 
  under the Files section. Restart X.
 
  X should read ~/.Xdefaults on start up  your font will be used for
  aterm.
 
  xlsfonts should also now list the bitstream vera fonts.
 
  Regards,
 
 Thanks a lot, it works.
 There is no font path in the xorg.conf, and after I add them in, it comes out.
 Another thing is, it did not recognize the \  to space, the   will work.
 The font line I am using is:
 Aterm*font: -bitstream-bitstream vera sans
 mono-medium-r-normal--0-0-0-0-m-0-iso8859-1
 
 Though the font seems a little bigger than I suppose, anyway, it works.

Hi Kemian,

I'm glad you got it working.

To change the size of the font, you want to change the the first 0 in
the line to the font size you require in pixels. E.g: I use:

-bitstream-bitstream vera sans mono-medium-r-normal--16-0-0-0-m-0-iso8859-15

for a 16px font. I like it big!

You can test it beforehand by using xfd (in ports if not already
installed) i.e:

$ xfd -fn -bitstream-bitstream vera sans mono\
-medium-r-normal--16-0-0-0-m-0-iso8859-15

Use iso8859-15 if you want € (the euro) in your character set.

 
 Sorry for replying later due to lot of work these days.
 

No worries. I assumed you'd got it to work.

 -- 
 Best wishes,
 Kemian

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT]Change font for aterm

2008-06-08 Thread Frank Shute
On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote:

 Dear All,
 
 I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change
 the configure in the menu.
 Now I am using aterm, but I also want to use that font.
 
 I can see it by fc-list:
 
 [3:39pm:kemian] ~ fc-list | grep Sans Mono
 Bitstream Vera Sans Mono:style=Bold
 Bitstream Vera Sans Mono:style=Oblique
 Bitstream Vera Sans Mono:style=Bold Oblique
 Bitstream Vera Sans Mono:style=Roman
 
 I add entry in .Xresources:
 
 Aterm*font:   xft:Bitstream Vera Sans Mono:style=Roman

Use:

Aterm*font: -bitstream-bitstream\ vera\ sans\ 
mono-medium-r-normal--16-0-0-0-m-0-iso8859-15

in ~/.Xdefaults (all on one line).

Then:

$ xrdb -load

The size of the font can be varied by changing the 16 in that line.

$ xlsfonts | less 

gives you the names of the fonts you can use.

 
 But run the aterm give me:
 
 aterm: can't load font xft:Bitstream Vera Sans Mono:style=Roman
 
 Could anyone give me a clue on how to change the font of aterm?
 
 -- 
 Best wishes,
 Kemian

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT]Change font for aterm

2008-06-08 Thread Kemian Dang
2008/6/8 Frank Shute [EMAIL PROTECTED]:
 On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote:

 Dear All,

 I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change
 the configure in the menu.
 Now I am using aterm, but I also want to use that font.

 I can see it by fc-list:

 [3:39pm:kemian] ~ fc-list | grep Sans Mono
 Bitstream Vera Sans Mono:style=Bold
 Bitstream Vera Sans Mono:style=Oblique
 Bitstream Vera Sans Mono:style=Bold Oblique
 Bitstream Vera Sans Mono:style=Roman

 I add entry in .Xresources:

 Aterm*font:   xft:Bitstream Vera Sans Mono:style=Roman

 Use:

 Aterm*font: -bitstream-bitstream\ vera\ sans\ 
 mono-medium-r-normal--16-0-0-0-m-0-iso8859-15

 in ~/.Xdefaults (all on one line).


aterm still complain can not find this font.

 Then:

 $ xrdb -load

This command did not give any output, it held there and nothing happened.
I have to Ctrl+C to stop it.


 The size of the font can be varied by changing the 16 in that line.

 $ xlsfonts | less

This did not give the output of bitstream vera sans mono.


 gives you the names of the fonts you can use.


 But run the aterm give me:

 aterm: can't load font xft:Bitstream Vera Sans Mono:style=Roman

 Could anyone give me a clue on how to change the font of aterm?

 --
 Best wishes,
 Kemian

 Regards,

 --

  Frank


  Contact info: http://www.shute.org.uk/misc/contact.html



So, any ideas.

-- 
Best wishes,
Kemian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT]Change font for aterm

2008-06-08 Thread Frank Shute
On Sun, Jun 08, 2008 at 06:06:38PM +0100, Kemian Dang wrote:

 2008/6/8 Frank Shute [EMAIL PROTECTED]:
  On Sun, Jun 08, 2008 at 03:41:53PM +0100, Kemian Dang wrote:
 
  Dear All,
 
  I used to use Bitstream Vera Sans Mono in Gnome-terminal, by change
  the configure in the menu.
  Now I am using aterm, but I also want to use that font.
 
  I can see it by fc-list:
 
  [3:39pm:kemian] ~ fc-list | grep Sans Mono
  Bitstream Vera Sans Mono:style=Bold
  Bitstream Vera Sans Mono:style=Oblique
  Bitstream Vera Sans Mono:style=Bold Oblique
  Bitstream Vera Sans Mono:style=Roman
 
  I add entry in .Xresources:
 
  Aterm*font:   xft:Bitstream Vera Sans Mono:style=Roman
 
  Use:
 
  Aterm*font: -bitstream-bitstream\ vera\ sans\ 
  mono-medium-r-normal--16-0-0-0-m-0-iso8859-15
 
  in ~/.Xdefaults (all on one line).
 
 
 aterm still complain can not find this font.
 
  Then:
 
  $ xrdb -load

Sorry. should have been:

$ xrdb -load ~/.Xdefaults

 
 This command did not give any output, it held there and nothing happened.
 I have to Ctrl+C to stop it.
 
 
  The size of the font can be varied by changing the 16 in that line.
 
  $ xlsfonts | less
 
 This did not give the output of bitstream vera sans mono.

Does the dir /usr/local/lib/X11/fonts/bitstream-vera/ exist?

If not you have to install: x11-fonts/bitstream-vera and follow the
instructions to change your xorg.conf and then restart X.

If it exists, you have to add the dir to xorg.conf like so:

FontPath /usr/local/lib/X11/fonts/bitstream-vera/

under the Files section. Restart X.

X should read ~/.Xdefaults on start up  your font will be used for
aterm.

xlsfonts should also now list the bitstream vera fonts.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]