54 lines
1.8 KiB
Plaintext
Raw Normal View History

2005-10-20 10:45:19 +00:00
Note that all \[charXXX] entity names have been removed from the font files.
2002-10-11 08:52:17 +00:00
They don't make sense for Unicode.
2005-10-20 10:45:19 +00:00
The following entity from the original troff manual (by Ossanna and
Kernighan) is unmapped:
2001-04-17 12:12:05 +00:00
2005-10-20 10:45:19 +00:00
bs shaded solid ball (Bell System logo, AT&T logo)
2001-04-17 12:12:05 +00:00
Character 0x002D has not been given a name because its Unicode name
2005-10-20 10:45:19 +00:00
HYPHEN-MINUS is so ambiguous that it is unusable for serious typographic
use.
2001-04-17 12:12:05 +00:00
2005-10-20 10:45:19 +00:00
\[wp] has been mapped to 0x2118, because according to Unicode 4.1's
NamesList.txt, U+2118 SCRIPT CAPITAL P is really a Weierstrass `p',
2001-04-17 12:12:05 +00:00
neither SCRIPT not CAPITAL.
2005-10-20 10:45:19 +00:00
The following line could be added; \[space] is known to devps but is not
documented and not known to devdvi (actually, there is no space glyph within
the TeX system).
2002-10-11 08:52:17 +00:00
2005-10-20 10:45:19 +00:00
space 24 0 0x0020
2001-04-17 12:12:05 +00:00
2005-10-20 10:45:19 +00:00
devps maps \[a~] and `~' to `asciitilde', which is equivalent to 0x02DC, but
2002-10-11 08:52:17 +00:00
this glyph is just too small. We map them to 0x007E instead.
2001-04-17 12:12:05 +00:00
2005-10-20 10:45:19 +00:00
devps maps \[a^] and `^' to `circumflex', which is equivalent to 0x02C6, but
2002-10-11 08:52:17 +00:00
this glyph is just too small. We map them to 0x005E instead.
2001-04-17 12:12:05 +00:00
2005-10-20 10:45:19 +00:00
devps maps \[*U] to `Upsilon1', which is equivalent to 0x03D2. We map it to
2001-04-17 12:12:05 +00:00
0x03A5 instead.
2005-10-20 10:45:19 +00:00
devps maps \[*W] to `Omega', which is equivalent to either 0x2126 or 0x03A9.
2002-10-11 08:52:17 +00:00
We map it to 0x03A9.
2005-10-20 10:45:19 +00:00
devps maps \[*D] to `Delta', which is equivalent to either 0x2206 or 0x0394.
2002-10-11 08:52:17 +00:00
We map it to 0x0394.
2001-04-17 12:12:05 +00:00
2005-10-20 10:45:19 +00:00
Adding Unicode characters
-------------------------
2001-04-17 12:12:05 +00:00
Assume you want to use a Unicode character not provided in the list, say
U+20AC. You need to do two things:
- Add a line
2005-10-20 10:45:19 +00:00
u20AC 24 0 0x20AC
2001-04-17 12:12:05 +00:00
(the second column is computed as 24 * wcwidth(0x20AC)) to the file
R.proto, or, when groff is already installed, to the four fonts files in
$(prefix)/share/groff/<version>/font/devutf8/.
2005-10-20 10:45:19 +00:00
- In your source file, use the notation \[u20AC] to access it.