… | |
… | |
172 | resource B<borderColor>. |
172 | resource B<borderColor>. |
173 | |
173 | |
174 | =item B<-fn> I<fontlist> |
174 | =item B<-fn> I<fontlist> |
175 | |
175 | |
176 | Select the fonts to be used. This is a comma separated list of font names |
176 | Select the fonts to be used. This is a comma separated list of font names |
177 | that are used in turn when trying to display Unicode characters. The |
177 | that are checked in order when trying to find glyphs for characters. The |
178 | first font defines the cell size for characters; other fonts might be |
178 | first font defines the cell size for characters; other fonts might be |
179 | smaller, but not (in general) larger. A (hopefully) reasonable default |
179 | smaller, but not (in general) larger. A (hopefully) reasonable default |
180 | font list is always appended to it. See resource B<font> for more details. |
180 | font list is always appended to it. See resource B<font> for more details. |
181 | |
181 | |
182 | In short, to specify an X11 core font, just specify it's name or prefix it |
182 | In short, to specify an X11 core font, just specify it's name or prefix it |
… | |
… | |
627 | of 1 displays the image without any scaling. A scale of 2 to 9 |
627 | of 1 displays the image without any scaling. A scale of 2 to 9 |
628 | specifies an integer number of images in that direction. No image will |
628 | specifies an integer number of images in that direction. No image will |
629 | be magnified beyond 10 times its original size. The maximum permitted |
629 | be magnified beyond 10 times its original size. The maximum permitted |
630 | scale is 1000. [default 0x0+50+50] |
630 | scale is 1000. [default 0x0+50+50] |
631 | |
631 | |
632 | =item B<menu:> I<file[;tag]> |
|
|
633 | |
|
|
634 | Read in the specified menu file (note the `.menu' extension is |
|
|
635 | optional) and also optionally specify a starting tag to find. See the |
|
|
636 | reference documentation for details on the syntax for the menuBar. |
|
|
637 | |
|
|
638 | =item B<path:> I<path> |
632 | =item B<path:> I<path> |
639 | |
633 | |
640 | Specify the colon-delimited search path for finding files (XPM and |
634 | Specify the colon-delimited search path for finding XPM files. |
641 | menus), in addition to the paths specified by the B<RXVTPATH> and |
|
|
642 | B<PATH> environment variables. |
|
|
643 | |
635 | |
644 | =item B<font:> I<fontlist> |
636 | =item B<font:> I<fontlist> |
645 | |
637 | |
646 | Select the fonts to be used. This is a comma separated list of font |
638 | Select the fonts to be used. This is a comma separated list of font names |
647 | names that are used in turn when trying to display Unicode characters. |
639 | that are checked in order when trying to find glyphs for characters. The |
648 | The first font defines the cell size for characters; other fonts might |
640 | first font defines the cell size for characters; other fonts might be |
649 | be smaller, but not larger. A reasonable default font list is always |
641 | smaller, but not (in general) larger. A (hopefully) reasonable default |
650 | appended to it; option B<-fn>. |
642 | font list is always appended to it; option B<-fn>. |
651 | |
643 | |
652 | Each font can either be a standard X11 core font (XLFD) name, with |
644 | Each font can either be a standard X11 core font (XLFD) name, with |
653 | optional prefix C<x:> or a Xft font (Compile I<xft>), prefixed with C<xft:>. |
645 | optional prefix C<x:> or a Xft font (Compile I<xft>), prefixed with C<xft:>. |
654 | |
646 | |
655 | In addition, each font can be prefixed with additional hints and |
647 | In addition, each font can be prefixed with additional hints and |
… | |
… | |
657 | hint currently is C<codeset=codeset-name>, and this is only used for Xft |
649 | hint currently is C<codeset=codeset-name>, and this is only used for Xft |
658 | fonts. |
650 | fonts. |
659 | |
651 | |
660 | For example, this font resource |
652 | For example, this font resource |
661 | |
653 | |
662 | URxvt*font: 9x15bold,\ |
654 | URxvt.font: 9x15bold,\ |
663 | -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\ |
655 | -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\ |
664 | -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \ |
656 | -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \ |
665 | [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \ |
657 | [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \ |
666 | xft:Code2000:antialias=false |
658 | xft:Code2000:antialias=false |
667 | |
659 | |
… | |
… | |
764 | |
756 | |
765 | The string will be interpreted as if typed into the shell as-is. |
757 | The string will be interpreted as if typed into the shell as-is. |
766 | |
758 | |
767 | Example: |
759 | Example: |
768 | |
760 | |
769 | URxvt*print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX) |
761 | URxvt.print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX) |
770 | |
762 | |
771 | This creates a new file in your home directory with the screen contents |
763 | This creates a new file in your home directory with the screen contents |
772 | everytime you hit C<Print>. |
764 | everytime you hit C<Print>. |
773 | |
765 | |
774 | =item B<scrollBar:> I<boolean> |
766 | =item B<scrollBar:> I<boolean> |
… | |
… | |
946 | default. (Note that many other terminals, including xterm, have these |
938 | default. (Note that many other terminals, including xterm, have these |
947 | sequences enabled by default, which doesn't make it safer, though). |
939 | sequences enabled by default, which doesn't make it safer, though). |
948 | |
940 | |
949 | You can enable them by setting this boolean resource or specifying |
941 | You can enable them by setting this boolean resource or specifying |
950 | B<-insecure> as an option. At the moment, this enables display-answer, |
942 | B<-insecure> as an option. At the moment, this enables display-answer, |
951 | locale, findfont, icon label and window title requests as well as dynamic |
943 | locale, findfont, icon label and window title requests. |
952 | menubar dispatch. |
|
|
953 | |
944 | |
954 | =item B<modifier:> I<modifier> |
945 | =item B<modifier:> I<modifier> |
955 | |
946 | |
956 | Set the key to be interpreted as the Meta key to: B<alt>, B<meta>, |
947 | Set the key to be interpreted as the Meta key to: B<alt>, B<meta>, |
957 | B<hyper>, B<super>, B<mod1>, B<mod2>, B<mod3>, B<mod4>, B<mod5>; option |
948 | B<hyper>, B<super>, B<mod1>, B<mod2>, B<mod3>, B<mod4>, B<mod5>; option |
… | |
… | |
1200 | =head1 CHANGING FONTS |
1191 | =head1 CHANGING FONTS |
1201 | |
1192 | |
1202 | Changing fonts (or font sizes, respectively) via the keypad is not yet |
1193 | Changing fonts (or font sizes, respectively) via the keypad is not yet |
1203 | supported in rxvt-unicode. Bug me if you need this. |
1194 | supported in rxvt-unicode. Bug me if you need this. |
1204 | |
1195 | |
1205 | You can, however, switch fonts at runtime using escape sequences (and |
1196 | You can, however, switch fonts at runtime using escape sequences, e.g.: |
1206 | therefore using the menubar), e.g.: |
|
|
1207 | |
1197 | |
1208 | printf '\e]710;%s\007' "9x15bold,xft:Kochi Gothic" |
1198 | printf '\e]710;%s\007' "9x15bold,xft:Kochi Gothic" |
|
|
1199 | |
|
|
1200 | You can use keyboard shortcuts, too: |
|
|
1201 | |
|
|
1202 | URxvt.keysym.M-C-1: command:\033]710;suxuseuro\007\033]711;suxuseuro\007 |
|
|
1203 | URxvt.keysym.M-C-2: command:\033]710;9x15bold\007\033]711;9x15bold\007 |
1209 | |
1204 | |
1210 | rxvt-unicode will automatically re-apply these fonts to the output so far. |
1205 | rxvt-unicode will automatically re-apply these fonts to the output so far. |
1211 | |
1206 | |
1212 | =head1 ISO 14755 SUPPORT |
1207 | =head1 ISO 14755 SUPPORT |
1213 | |
1208 | |