diff options
author | wlemb <wlemb> | 2002-11-12 08:49:58 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2002-11-12 08:49:58 +0000 |
commit | bf58bd61420c5408840c46b3dce358b34835d9e6 (patch) | |
tree | c5d26a0b8ad3680e9655c6c82af34d37940d07e6 /man/groff.man | |
parent | dee6a2a67bfae95ed12fa2bcedf39815ecc29f5f (diff) | |
download | groff-bf58bd61420c5408840c46b3dce358b34835d9e6.tar.gz |
Added three new requests `schar', `fschar', and `rfschar'. `schar'
defines a glyph which is searched after the check for fonts declared
with `.special' (and before the check for all mounted special
fonts). `fschar' defines a glyph for a particular font which is
searched after the check for fonts declared with `.fspecial' (and
before the check for fonts declared with `.special'). `rfschar'
removes glyphs defined with `fschar'.
* src/roff/troff/token.h (char_mode): New enum.
Declare do_define_character.
* src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
`mode'.
(charinfo::is_fallback): Updated.
(charinfo::is_special): New method.
* src/roff/troff/input.cc (do_define_character): Add and use
optional second parameter used as a prefix for font-specific glyph
names.
(define_character, define_fallback_character): Updated.
(define_special_character): New function.
(init_input_requests): Add `schar'.
(charinfo::charinfo, charinfo::set_macro): Updated.
* src/roff/troff/node.cc: Include `stringclass.h'.
(make_glyph_node): Handle special glyphs defined with `.schar' and
`.fschar'.
(define_font_special_character, remove_font_special_character): New
functions.
(init_node_requests): Sorted.
Add `fschar' and `rfschar'.
* NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
Document new requests.
* font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
* tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
Diffstat (limited to 'man/groff.man')
-rw-r--r-- | man/groff.man | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/man/groff.man b/man/groff.man index 66ace56a..8ec485fd 100644 --- a/man/groff.man +++ b/man/groff.man @@ -1543,10 +1543,18 @@ name to short name on position .IR n . . +.REQ .fschar f c anything +Define fallback character +.I c +for font +.I f +as string +.IR anything . +. .REQ .fspecial font Reset list of special fonts for .I font -to empty. +to be empty. . .REQ .fspecial font s1 s2 .\|.\|.\& When the current font is @@ -1944,6 +1952,14 @@ Read insertion. .REQ .return Return from a macro. . +.REQ .rfschar f c1 c2 .\|.\|.\& +Remove the definitions of characters +.IR c1 , +.IR c2 , +.I .\|.\|.\& +for font +.IR f . +. .REQ .rj n Right justify the next .I n @@ -1978,6 +1994,12 @@ Return to marked vertical place (default scaling indicator\~\c .scaleindicator v ). . +.REQ .schar c anything +Define global fallback character +.I c +as string +.IR anything . +. .REQ .shc Reset soft hyphen character to .esc (hy . @@ -2013,7 +2035,7 @@ up or down according to sign of .scaleindicator v ). . .REQ .special -Reset global list of special fonts to empty. +Reset global list of special fonts to be empty. . .REQ .special s1 s2 .\|.\|.\& Fonts |