diff options
author | wlemb <wlemb> | 2001-12-20 21:16:32 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-12-20 21:16:32 +0000 |
commit | b25c4dc312ee0234534d37a394dd7dfb13e2d7be (patch) | |
tree | 6f71d57af315c44419a4ac421f4169227c2b88ba /man/groff_diff.man | |
parent | ea9d446a4090d15702fbfdc618c29618ce68e60c (diff) | |
download | groff-b25c4dc312ee0234534d37a394dd7dfb13e2d7be.tar.gz |
Implement a fallback character request `.fchar'.
* src/roff/troff/charinfo.h (charinfo): New flag `fallback'.
(is_fallback): New inline function.
* src/roff/troff/input.cc (do_define_character): New function.
(define_character): Call `do_define_character'.
(define_fallback_character): New function.
(init_input_requests): Add `fchar'.
(charinfo::charinfo): Updated.
(charinfo::set_macro): New argument to set `fallback' flag.
* src/roff/troff/node.cc (make_glyph_node, make_node,
node::add_char): Check `fallback' flag.
* NEWS, man/groff_diff.man, man/groff_man: Updated.
Diffstat (limited to 'man/groff_diff.man')
-rw-r--r-- | man/groff_diff.man | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/man/groff_diff.man b/man/groff_diff.man index fe3ae95b..644639e1 100644 --- a/man/groff_diff.man +++ b/man/groff_diff.man @@ -1088,6 +1088,22 @@ See the description of the request for more information on font families. . .TP +.BI .fchar\ c\ string +Define fallback character +.I c +to be +.IR string . +The syntax of this request is the same as the +.B char +request; the only difference is that a character defined with +.B char +hides the glyph with the same name in the current font, whereas a character +defined with +.B fchar +is checked only if the particular glyph isn't found in the current font. +This test happens before checking special fonts. +. +.TP .BI .fspecial\ f\ s1\ s2\|.\|.\|. When the current font is .IR f , |