[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] unicode support, part 12: \(la, \(ra
From: |
Bruno Haible |
Subject: |
[Groff] unicode support, part 12: \(la, \(ra |
Date: |
Tue, 21 Feb 2006 18:53:27 +0100 |
User-agent: |
KMail/1.5 |
Since the question about \[la] and \[ra] will certainly be asked again,
I propose to add a comment about it. (Only in glyphuni.cpp, since there
doesn't appear to be a way to add a comment to devhtml/R.proto.)
diff -r -c3 groff-20060217.orig/src/libs/libgroff/glyphuni.cpp
groff-20060217/src/libs/libgroff/glyphuni.cpp
--- groff-20060217.orig/src/libs/libgroff/glyphuni.cpp 2006-02-19
19:57:41.000000000 +0100
+++ groff-20060217/src/libs/libgroff/glyphuni.cpp 2006-02-20
00:25:09.000000000 +0100
@@ -484,6 +484,14 @@
{ "HE", "2665" },
{ "DI", "2666" },
{ "OK", "2713" },
+ // The "left angle bracket" and "right angle bracket" could be mapped to
+ // either U+2329,U+232A or U+3008,U+3009 or U+27E8,U+27E9. But the first
+ // and second possibility are double-width characters (see Unicode's
+ // DerivedEastAsianWidth.txt file) and are therefore not suitable for
+ // general use, whereas the third possibility is single-width.
+ // The devhtml device overrides this mapping, because
+ // http://www.w3.org/TR/html401/sgml/entities.html
+ // says that in HTML, ⟨ and ⟩ are U+2329,U+232A, respectively.
{ "la", "27E8" },
{ "ra", "27E9" },
};
- Re: [Groff] mapping of glyphs to Unicode, (continued)
[Groff] unicode support, part 10: \[shc], Bruno Haible, 2006/02/21
- [Groff] Re: unicode support, part 10: \[shc], Werner LEMBERG, 2006/02/23
- [Groff] Re: unicode support, part 10: \[shc] and the soft hyphen in HTML, Bruno Haible, 2006/02/23
- [Groff] Re: unicode support, part 10: \[shc] and the soft hyphen in HTML, Werner LEMBERG, 2006/02/24
- [Groff] Re: unicode support, part 10: \[shc] and the soft hyphen in HTML, Werner LEMBERG, 2006/02/23
[Groff] unicode support, part 12: \(la, \(ra,
Bruno Haible <=
[Groff] unicode support, part 11: \[sqrt] vs \(sr, Bruno Haible, 2006/02/21