summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog57
-rw-r--r--font/devhtml/R.proto4
-rw-r--r--font/devutf8/R.proto4
-rw-r--r--src/libs/libgroff/glyphuni.cpp12
4 files changed, 71 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a41c083..c1ebd1be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,60 @@
+2006-06-23 Werner LEMBERG <wl@gnu.org>
+
+ * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'
+ and \` entries.
+
+2006-02-22 Werner LEMBERG <wl@gnu.org>
+
+ Remove all remaining traces from the `shc' glyph.
+
+ * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
+ src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
+ entry for `shc'.
+
+ * font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
+ entry with unnamed glyph.
+
+ * tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
+
+ * src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
+ specially.
+
+2006-02-22 Bruno Haible <bruno@clisp.org>
+
+ Concretize the `glyph' datatype.
+
+ * src/include/font.h (glyph): Remove class.
+ (glyph): Renamed from struct `glyphinfo'.
+ (glyph_to_index): New inline function.
+ (glyph_to_name): Make extern, not inline.
+ (glyph_to_number): Update.
+ (font): Use `glyph *' instead of `glyph'.
+
+ * src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
+ `glyph'. Make `name' field public.
+ (character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
+ instead of `glyph'.
+ (glyph_to_name): Renamed from `glyph::glyph_name'.
+
+ * src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
+ Use `glyph *' instead of `glyph'.
+
+ * src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
+ `glyph *' instead of `glyph'.
+ (glyph_to_name): Renamed from `glyph::glyph_name'.
+
+ * src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
+ and `glyph_to_index' instead of `glyph::glyph_index'.
+
+ * src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
+ * src/libs/libdriver/printer.cpp: Likewise.
+ * src/devices/grodvi/dvi.cpp: Likewise.
+ * src/devices/grohtml/post-html.cpp: Likewise.
+ * src/devices/grolbp/lbp.cpp: Likewise.
+ * src/devices/grolj4/lj4.cpp: Likewise.
+ * src/devices/grops/ps.cpp: Likewise.
+ * src/devices/grotty/tty.cpp: Likewise.
+
2006-02-22 Werner LEMBERG <wl@gnu.org>
Remove all remaining traces from the `shc' glyph.
diff --git a/font/devhtml/R.proto b/font/devhtml/R.proto
index 679fbe19..f4024e77 100644
--- a/font/devhtml/R.proto
+++ b/font/devhtml/R.proto
@@ -80,8 +80,7 @@ ha "
_ 24 0 0x005F
ru "
ul "
-\` 24 0 0x0060
-ga "
+ga 24 0 0x0060
a 24 0 0x0061
b 24 0 0x0062
c 24 0 0x0063
@@ -140,7 +139,6 @@ t+- "
S2 24 0 0x00B2
S3 24 0 0x00B3
aa 24 0 0x00B4
-\' "
mc 24 0 0x00B5
ps 24 0 0x00B6
pc 24 0 0x00B7
diff --git a/font/devutf8/R.proto b/font/devutf8/R.proto
index ac0828fe..201269c0 100644
--- a/font/devutf8/R.proto
+++ b/font/devutf8/R.proto
@@ -112,8 +112,7 @@ ha "
_ 24 0 0x005F
ru "
ul "
-\` 24 0 0x0060
-ga "
+ga 24 0 0x0060
a 24 0 0x0061
b 24 0 0x0062
c 24 0 0x0063
@@ -206,7 +205,6 @@ t+- "
S2 24 0 0x00B2
S3 24 0 0x00B3
aa 24 0 0x00B4
-\' "
mc 24 0 0x00B5
ps 24 0 0x00B6
pc 24 0 0x00B7
diff --git a/src/libs/libgroff/glyphuni.cpp b/src/libs/libgroff/glyphuni.cpp
index 8cff29de..d79ed451 100644
--- a/src/libs/libgroff/glyphuni.cpp
+++ b/src/libs/libgroff/glyphuni.cpp
@@ -485,6 +485,18 @@ struct S {
{ "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, `&lang;' and `&rang;' are U+2329,U+232A,
+ // respectively.
{ "la", "27E8" },
{ "ra", "27E9" },
};