UXTerm.ad revision d522f475
1! $XTermId: UXTerm.ad,v 1.11 2006/02/13 01:14:58 tom Exp $
2! $XFree86: xc/programs/xterm/UXTerm.ad,v 1.5 2006/02/13 01:14:58 dickey Exp $
3
4! Use
5!	xterm -class UXTerm
6! to set resources for UTF-8 mode with corresponding fonts.
7! See the uxterm script for an example.
8
9#include "XTerm-color"
10
11*fontMenu.Label:  Unicode Fonts
12*VT100.utf8:	1
13
14! This includes "XTerm-color" which includes "XTerm", which defines fonts.
15! Why set them here?
16!
17! Here is a simple description.  A technically precise one would be very long.
18! When xterm starts up, it uses the
19!
20!	*VT100.font
21!
22! resource, and if it is told to switch to wide-character (UTF-8) mode, it
23! checks if the given font is "wide", and if not looks for the
24!
25!	*VT100.utf8Fonts.font
26!
27! to obtain a wide font.  A "wide" font has more than 256 glyphs.  Typical
28! wide fonts have 10,000 glyphs.  If the original "*VT100.font" is not wide,
29! and xterm can load the *VT100.utf8Fonts.font, it will use that.
30!
31! Making the wide fonts associated with *VT100.font in this file allows uxterm
32! to skip that step.  It will use the fonts that the XTerm file gives for the
33! *VT100.uft8Fonts.font pattern.
34*VT100.font2:	-misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
35*VT100.font:	-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
36*VT100.font3:	-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
37*VT100.font4:	-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
38*VT100.font5:	-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
39*VT100.font6:	-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
40
41! Here is an alternate set of fonts with better support for bold:
42!*VT100.font2:	-efont-biwidth-medium-r-normal--10-100-75-75-p-50-iso10646-1
43!*VT100.font:	-efont-biwidth-medium-r-normal--10-100-75-75-p-50-iso10646-1
44!*VT100.font3:	-efont-biwidth-medium-r-normal--12-120-75-75-p-60-iso10646-1
45!*VT100.font4:	-efont-biwidth-medium-r-normal--14-140-75-75-p-70-iso10646-1
46!*VT100.font5:	-efont-biwidth-medium-r-normal--16-160-75-75-p-80-iso10646-1
47!*VT100.font6:	-efont-biwidth-medium-r-normal--24-240-75-75-p-120-iso10646-1
48