diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-01-15 12:13:45 +1100 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-01-21 01:51:03 +1100 |
commit | a246806d81351996ac2fa4a8f0826915e576bc0f (patch) | |
tree | 60b5b698692635cdd5be0a9f405fb1907940460e /tmac/tmac.am | |
parent | 4ed40c881074b3701e097001c3cc0d2d4ce11884 (diff) | |
download | groff-git-a246806d81351996ac2fa4a8f0826915e576bc0f.tar.gz |
Simplify Unicode character mapping process.
* tmac/unicode.tmac: Drop. It was originally added in 2005 to suppress
horizontal spacing of glyphs in the range U+0483..9. Its purpose has
wandered over the years; most recently to map the Basic Latin
("ASCII") hyphen-minus, apostrophe, and grave accent to special
characters (and thus ultimately to the General Punctuation block).
But this is unnecessary since the font descriptions for devices with
the `unicode` property can provide this information, and anyone who
wants to alter the mappings can change either font description files,
output device macro files, or troffrc; or add `char` requests to their
macro packages or documents (in decreasing magnitude of ambition).
* tmac/html.tmac:
* tmac/tty.tmac: Stop sourcing unicode.tmac.
* tmac/tmac.am (TMACNORMALFILES): Stop shipping it.
* font/devutf8/NOTES: Drop remarks about mapping of \[a~], \[a^], and
Basic Latin circumflex accent and tilde. Not only do I disagree with
the reasoning (whether these glyphs are "too small" depends on the
font used by the terminal emulator, over which we have no control),
but this mapping happens in a completely different part of the source
tree, src/libs/libgroff/glyphuni.cpp.
* font/devhtml/R.proto:
* font/devutf8/R.proto: Add mappings for the five Basic Latin characters
that map surprisingly (see groff_char(7)) and are not syntactically
significant to troff. Three of these are ported from unicode.tmac.
(html): Don't migrate the hyphen-minus--yet.
Diffstat (limited to 'tmac/tmac.am')
-rw-r--r-- | tmac/tmac.am | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tmac/tmac.am b/tmac/tmac.am index 7c8a93e4b..5e276368e 100644 --- a/tmac/tmac.am +++ b/tmac/tmac.am @@ -62,7 +62,6 @@ TMACNORMALFILES = \ tmac/latin5.tmac \ tmac/latin9.tmac \ tmac/cp1047.tmac \ - tmac/unicode.tmac \ tmac/X.tmac \ tmac/Xps.tmac \ tmac/lj4.tmac \ |