Home | History | Annotate | Line # | Download | only in devutf8
      1  1.1  christos Note that all \[charXXX] entity names have been removed from the font files.
      2  1.1  christos They don't make sense for Unicode.
      3  1.1  christos 
      4  1.1  christos The following entity from the original troff manual (by Ossanna and
      5  1.1  christos Kernighan) is unmapped:
      6  1.1  christos 
      7  1.1  christos   bs    shaded solid ball (Bell System logo, AT&T logo)
      8  1.1  christos 
      9  1.1  christos Character 0x002D has not been given a name because its Unicode name
     10  1.1  christos HYPHEN-MINUS is so ambiguous that it is unusable for serious typographic
     11  1.1  christos use.
     12  1.1  christos 
     13  1.1  christos \[wp] has been mapped to 0x2118, because according to Unicode 4.1's
     14  1.1  christos NamesList.txt, U+2118 SCRIPT CAPITAL P is really a Weierstrass `p',
     15  1.1  christos neither SCRIPT not CAPITAL.
     16  1.1  christos 
     17  1.1  christos The following line could be added; \[space] is known to devps but is not
     18  1.1  christos documented and not known to devdvi (actually, there is no space glyph within
     19  1.1  christos the TeX system).
     20  1.1  christos 
     21  1.1  christos   space   24   0   0x0020
     22  1.1  christos 
     23  1.1  christos devps maps \[a~] and `~' to `asciitilde', which is equivalent to 0x02DC, but
     24  1.1  christos this glyph is just too small.  We map them to 0x007E instead.
     25  1.1  christos 
     26  1.1  christos devps maps \[a^] and `^' to `circumflex', which is equivalent to 0x02C6, but
     27  1.1  christos this glyph is just too small.  We map them to 0x005E instead.
     28  1.1  christos 
     29  1.1  christos devps maps \[*U] to `Upsilon1', which is equivalent to 0x03D2.  We map it to
     30  1.1  christos 0x03A5 instead.
     31  1.1  christos 
     32  1.1  christos devps maps \[*W] to `Omega', which is equivalent to either 0x2126 or 0x03A9.
     33  1.1  christos We map it to 0x03A9.
     34  1.1  christos 
     35  1.1  christos devps maps \[*D] to `Delta', which is equivalent to either 0x2206 or 0x0394.
     36  1.1  christos We map it to 0x0394.
     37  1.1  christos 
     38  1.1  christos 
     39  1.1  christos Adding Unicode characters
     40  1.1  christos -------------------------
     41  1.1  christos 
     42  1.1  christos Assume you want to use a Unicode character not provided in the list, say
     43  1.1  christos U+20AC. You need to do two things:
     44  1.1  christos 
     45  1.1  christos - Add a line
     46  1.1  christos 
     47  1.1  christos     u20AC   24   0   0x20AC
     48  1.1  christos 
     49  1.1  christos   (the second column is computed as 24 * wcwidth(0x20AC)) to the file
     50  1.1  christos   R.proto, or, when groff is already installed, to the four fonts files in
     51  1.1  christos   $(prefix)/share/groff/<version>/font/devutf8/.
     52  1.1  christos 
     53  1.1  christos - In your source file, use the notation \[u20AC] to access it.
     54