1 |
Sketchy overview of the details: |
2 |
|
3 |
- the options used in the ./reconf script should work. everything else |
4 |
might work and might be broken. |
5 |
|
6 |
- wchar_t MUST be UNICODE or ISO-10646-1 on your system, or various things |
7 |
will break down. On GNU/Linux, this is true for all locales, on Solaris, |
8 |
this might be true only for locales ending in "@ucs", but you should |
9 |
have plenty of them, as there should be a corresponding @ucs-locale for |
10 |
every normal locale. |
11 |
|
12 |
If you know details for other operating systems, please notify me (in |
13 |
general, if your env defines __STDC_ISO_10646__ then everything should |
14 |
be fine). |
15 |
|
16 |
- rxvt will use unicode internally, but does input/output in the current |
17 |
locale. so to get a utf-8 terminal, use "LC_CTYPE=en_US.UTF-8 rxvt" or |
18 |
equivalent. |
19 |
|
20 |
- you can specify a different locale to be used for your input method |
21 |
using the imLocale ressource or switch, e.g.: |
22 |
LC_CTYPE=ja_JP.UTF-8 rxvt -imlocale ja_JP.EUC-JP |
23 |
|
24 |
- keyboard input is limited by the selected locale (and X's support for |
25 |
it), tty input and output likewise. Selection support is independent of |
26 |
the locale. |
27 |
|
28 |
- "-fn" commandline switch and *.font ressource accepts a comma |
29 |
seperated list of fontnames: |
30 |
|
31 |
x:9x15bold a x11 font |
32 |
9x15bold the same |
33 |
xft:Andale Mono a xft font |
34 |
xft:Andale Mono:pixelsize=20 |
35 |
9x15bold,terminus-15 |
36 |
|
37 |
- the _first_ font in the list selects the cell width/height. All other |
38 |
fonts must be smaller or same sized, or they will be ignored or worse. |
39 |
xft fonts will automatically be rescaled, x11-fonts, too, if their |
40 |
size is not specified in the XLFD. |
41 |
|
42 |
- the fonts will be tried in the order given when searching for a font |
43 |
to display a specific character. if you are e.g. mainly interested |
44 |
in japanese you might want to put a japanese font first to get the |
45 |
ascii characters glyphs from it. If you are mainly interested in a text |
46 |
terminal and only want to display other characters you should put a |
47 |
ascii/is8859 text font first (e.g. "9x15bold") and let rxvt sort it out. |
48 |
|
49 |
- xft fonts require gobs of memory and generally are slow. try not to |
50 |
antialias them ("Font:antialias=false") when possible. Might look |
51 |
better, too, as they then match other fonts in weight. |
52 |
|
53 |
- src/defaultfont.C lists the fallback fonts that are tried when a |
54 |
character cannot be displayed with the current list of fonts. |
55 |
|
56 |
- using bold fonts for the bold attribute is not supported by xft |
57 |
and will not be supported by rxvt-unicode, either, even for normal X11 |
58 |
fonts. |
59 |
|
60 |
- normal bold text will use reverse video unless the colorBD resource has |
61 |
been set. coloured text will use high-intensity colours for bold. |
62 |
|
63 |
Marc <rxvt@plan9.de> |
64 |
|