(mapping-table-read-file): If a glyph-image object has a feature
authorMORIOKA Tomohiko <tomo.git@chise.org>
Fri, 1 Aug 2014 05:36:15 +0000 (14:36 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Fri, 1 Aug 2014 05:36:15 +0000 (14:36 +0900)
`=>ucs*' and its value is equal to ucs, don't add `=>ucs' into the
glyph-image object even if its `ucs' value is not equal to ucs.

lisp/utf-2000/read-maps.el

index 1584747..787bfde 100644 (file)
@@ -219,7 +219,8 @@ UCS-REGEXP is a regular expression to match against
                                                             ==ucs@cns
                                                             ==ucs@ks)))
                                   (char-feature drep-chr '=>ucs))
-                             ucs)))
+                             ucs))
+                    (not (eq (char-feature drep-chr '=>ucs*) ucs)))
            (if (or ucs-code (null drep-ucs-ccs))
                (unless (eq (char-feature drep-chr '=>ucs) ucs)
                  (put-char-attribute drep-chr '=>ucs ucs))