summaryrefslogtreecommitdiff
path: root/font
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-11-12 08:49:58 +0000
committerwlemb <wlemb>2002-11-12 08:49:58 +0000
commitbf58bd61420c5408840c46b3dce358b34835d9e6 (patch)
treec5d26a0b8ad3680e9655c6c82af34d37940d07e6 /font
parentdee6a2a67bfae95ed12fa2bcedf39815ecc29f5f (diff)
downloadgroff-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 'font')
-rw-r--r--font/devhtml/R.proto1
-rw-r--r--font/devutf8/R.proto1
2 files changed, 2 insertions, 0 deletions
diff --git a/font/devhtml/R.proto b/font/devhtml/R.proto
index 6900565d..2a54002c 100644
--- a/font/devhtml/R.proto
+++ b/font/devhtml/R.proto
@@ -321,6 +321,7 @@ ua 24 0 0x2191 &uarr;
-> 24 0 0x2192 &rarr;
da 24 0 0x2193 &darr;
<> 24 0 0x2194 &harr;
+va 24 0 0x2195 &#8597;
lA 24 0 0x21D0 &lArr;
uA 24 0 0x21D1 &uArr;
rA 24 0 0x21D2 &rArr;
diff --git a/font/devutf8/R.proto b/font/devutf8/R.proto
index e62047fc..ec11ffb0 100644
--- a/font/devutf8/R.proto
+++ b/font/devutf8/R.proto
@@ -323,6 +323,7 @@ ua 24 0 0x2191
-> 24 0 0x2192
da 24 0 0x2193
<> 24 0 0x2194
+va 24 0 0x2195
lA 24 0 0x21D0
uA 24 0 0x21D1
rA 24 0 0x21D2