They offer different flash templates with latest features.
Login

Forgot password
Register
Latest changes

The idea module was updated:

  • We now have 10 statuses instead of 5
  • The review process now involves both moderators and developers
  • Moderators can now review form and content separately
  • Moderators can now delegate decisions to developers when they are unable to assess the pertinence or feasibility of an idea
Improve this website
  • Report bugs here.
  • Register ideas for improvements using the idea module on this website.
Back
Written by:
frankhjung
Score: 2
votes: 3
Format: Article

 Using True Type Fonts in XTerm


 
I’ve not had to use TrueType fonts before as my desktop display resolution never warranted it. Now with eyesight failing and much better monitors, I decided to give them a go. Fonts are globally managed by settings in /etc/X11/app-defaults. However, TrueType fonts can be locally set using ~/.Xresources.
 
To browse the list of fonts use
 
fc-list :fontformat=TrueType -f "%{family}\n" | sort -u | less
 
Test a font by specifyng in the xterm command -fa option
 
xterm -fa 'Luxi Mono' -fs 10
 
Where fa refers to the fonts face name, and fs, the font size.
 
Once happy with your font, apply to your application in ~/.Xresources
For example to apply for XTerm
 
! my customisations
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 11
 
The final step is to set these resource changes using xrdb
 
xrdb -merge .Xresources
 
So, next time you invoke a plain xterm command you will be greeted with your new font.

Tags: xterm truetype fonts
Created: 9 months ago.
Last edited: 9 months ago.
Reviewed: 9 months ago.
Read 0 times.

Comments

No comments so far.

Other tutorials from frankhjung