Dear All,
On my system, fonts are served up by XFS. The font I usually use in xterms is set in my .Xresources file as follows
XTerm*VT100.Font: -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1 XTerm.Font: -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1 XTerm*Font: -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1
However, for one particular task, I want to launch an xterm with a much smaller font. The command
xterm -fn fixed
Gets me part way there, but I want an even smaller font than that. Any ideas, please?
On Tue, Nov 23, 2010 at 11:55:37AM +0000, Dan wrote:
Dear All,
On my system, fonts are served up by XFS. The font I usually use in xterms is set in my .Xresources file as follows
XTerm*VT100.Font: -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1 XTerm.Font: -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1 XTerm*Font: -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO10646-1
However, for one particular task, I want to launch an xterm with a much smaller font. The command
xterm -fn fixed
Gets me part way there, but I want an even smaller font than that. Any ideas, please?
Try things like "xterm -fn 6x13" or "xterm -fn 7x14". On my system these are stored in /usr/share/fonts/X11/misc, if you look there you'll see the possible sizes you can use, on my system they go down to 4x6. However "xterm -fn 4x6" doesn't work on my system, "xterm -fn 5x7" does though!
On Tue, 23 Nov 2010, Chris G wrote:
On Tue, Nov 23, 2010 at 11:55:37AM +0000, Dan wrote:
However, for one particular task, I want to launch an xterm with a much smaller font. The command
xterm -fn fixed
Gets me part way there, but I want an even smaller font than that. Any ideas, please?
Try things like "xterm -fn 6x13" or "xterm -fn 7x14". On my system these are stored in /usr/share/fonts/X11/misc, if you look there you'll see the possible sizes you can use, on my system they go down to 4x6. However "xterm -fn 4x6" doesn't work on my system, "xterm -fn 5x7" does though!
Thanks, that was enough of a clue. Initially, I also had 5x7 available but not 4x6 - until I did the following:
- Look in /usr/share/xfs-catalogue/misc:pri=50/fonts.dir for the string associated with file 4x6.pcf.gz - Edit /usr/share/xfs-catalogue/misc:pri=50/fonts.alias to add an entry associating the short name 4x6 with that same string
Presumably the specifics of this only apply on XFS-based systems, though.