initial commit
[profile/ivi/xterm.git] / UXTerm.ad
1 ! $XTermId: UXTerm.ad,v 1.13 2010/03/04 01:17:07 tom Exp $
2 ! -----------------------------------------------------------------------------
3 ! this file is part of xterm
4 !
5 ! Copyright 2000-2006,2010 by Thomas E. Dickey
6
7 !                         All Rights Reserved
8
9 ! Permission is hereby granted, free of charge, to any person obtaining a
10 ! copy of this software and associated documentation files (the
11 ! "Software"), to deal in the Software without restriction, including
12 ! without limitation the rights to use, copy, modify, merge, publish,
13 ! distribute, sublicense, and/or sell copies of the Software, and to
14 ! permit persons to whom the Software is furnished to do so, subject to
15 ! the following conditions:
16
17 ! The above copyright notice and this permission notice shall be included
18 ! in all copies or substantial portions of the Software.
19
20 ! THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 ! OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22 ! MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23 ! IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
24 ! CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
25 ! TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
26 ! SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
28 ! Except as contained in this notice, the name(s) of the above copyright
29 ! holders shall not be used in advertising or otherwise to promote the
30 ! sale, use or other dealings in this Software without prior written
31 ! authorization.
32 ! -----------------------------------------------------------------------------
33 ! Use
34 !       xterm -class UXTerm
35 ! to set resources for UTF-8 mode with corresponding fonts.
36 ! See the uxterm script for an example.
37
38 #include "XTerm"
39
40 *fontMenu.Label:  Unicode Fonts
41 *VT100.utf8:    1
42
43 ! This includes "XTerm-color" which includes "XTerm", which defines fonts.
44 ! Why set them here?
45 !
46 ! Here is a simple description.  A technically precise one would be very long.
47 ! When xterm starts up, it uses the
48 !
49 !       *VT100.font
50 !
51 ! resource, and if it is told to switch to wide-character (UTF-8) mode, it
52 ! checks if the given font is "wide", and if not looks for the
53 !
54 !       *VT100.utf8Fonts.font
55 !
56 ! to obtain a wide font.  A "wide" font has more than 256 glyphs.  Typical
57 ! wide fonts have 10,000 glyphs.  If the original "*VT100.font" is not wide,
58 ! and xterm can load the *VT100.utf8Fonts.font, it will use that.
59 !
60 ! Making the wide fonts associated with *VT100.font in this file allows uxterm
61 ! to skip that step.  It will use the fonts that the XTerm file gives for the
62 ! *VT100.uft8Fonts.font pattern.
63 *VT100.font2:   -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
64 *VT100.font:    -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
65 *VT100.font3:   -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
66 *VT100.font4:   -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
67 *VT100.font5:   -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
68 *VT100.font6:   -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1
69
70 ! Here is an alternate set of fonts with better support for bold:
71 !*VT100.font2:  -efont-biwidth-medium-r-normal--10-100-75-75-p-50-iso10646-1
72 !*VT100.font:   -efont-biwidth-medium-r-normal--10-100-75-75-p-50-iso10646-1
73 !*VT100.font3:  -efont-biwidth-medium-r-normal--12-120-75-75-p-60-iso10646-1
74 !*VT100.font4:  -efont-biwidth-medium-r-normal--14-140-75-75-p-70-iso10646-1
75 !*VT100.font5:  -efont-biwidth-medium-r-normal--16-160-75-75-p-80-iso10646-1
76 !*VT100.font6:  -efont-biwidth-medium-r-normal--24-240-75-75-p-120-iso10646-1