(insert-ideograph-radical-char-data): Ignore non-Unicode UCS
authortomo <tomo>
Sun, 14 Jul 2002 11:05:39 +0000 (11:05 +0000)
committertomo <tomo>
Sun, 14 Jul 2002 11:05:39 +0000 (11:05 +0000)
code-points.

lisp/utf-2000/ideograph-util.el

index 1bb7c38..7044aa9 100644 (file)
     (aset ideograph-radical-chars-vector radical chars)
     (dolist (char chars)
       (when (some (lambda (ccs)
-                   (encode-char char ccs))
+                   (let ((code (encode-char char ccs)))
+                     (and code
+                          ;;(not (memq ccs char-db-ignored-attributes))
+                          ;;(or (not (memq ccs '(ucs))
+                          (and (<= 0 code)(<= code #x10FFFF)))))
                  ccss)
        (insert-char-data char nil attributes ccss)))))