aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/xterm/UXTerm.ad
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/xterm/UXTerm.ad')
-rw-r--r--nx-X11/programs/xterm/UXTerm.ad38
1 files changed, 38 insertions, 0 deletions
diff --git a/nx-X11/programs/xterm/UXTerm.ad b/nx-X11/programs/xterm/UXTerm.ad
new file mode 100644
index 000000000..b2180bfc5
--- /dev/null
+++ b/nx-X11/programs/xterm/UXTerm.ad
@@ -0,0 +1,38 @@
+! $XFree86: xc/programs/xterm/UXTerm.ad,v 1.4 2005/11/03 13:17:27 dickey Exp $
+
+! Use
+! xterm -class UXTerm
+! to set resources for UTF-8 mode with corresponding fonts.
+! See the uxterm script for an example.
+
+#include "XTerm-color"
+
+*fontMenu.Label: Unicode Fonts
+*VT100.utf8: 1
+
+! This includes "XTerm-color" which includes "XTerm", which defines fonts.
+! Why set them here?
+!
+! Here is a simple description. A technically precise one would be very long.
+! When xterm starts up, it uses the
+!
+! *VT100.font
+!
+! resource, and if it is told to switch to wide-character (UTF-8) mode, it
+! checks if the given font is "wide", and if not looks for the
+!
+! *VT100.utf8Fonts.font
+!
+! to obtain a wide font. A "wide" font has more than 256 glyphs. Typical
+! wide fonts have 10,000 glyphs. If the original "*VT100.font" is not wide,
+! and xterm can load the *VT100.utf8Fonts.font, it will use that.
+!
+! Making the wide fonts associated with *VT100.font in this file allows uxterm
+! to skip that step. It will use the fonts that the XTerm file gives for the
+! *VT100.uft8Fonts.font pattern.
+*VT100.font2: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1
+*VT100.font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
+*VT100.font3: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
+*VT100.font4: -misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1
+*VT100.font5: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
+*VT100.font6: -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso10646-1