(let ((chars
(sort (copy-list (aref ideograph-radical-chars-vector radical))
(function ideograph-char<)))
- attributes ccs)
+ attributes ccss)
(dolist (name (char-attribute-list))
- (if (find-charset name)
- (push name ccs)
- (push name attributes)))
+ (unless (memq name char-db-ignored-attributes)
+ (if (find-charset name)
+ (push name ccss)
+ (push name attributes))))
(setq attributes (sort attributes #'char-attribute-name<)
- ccs (sort ccs #'char-attribute-name<))
+ ccss (sort ccss #'char-attribute-name<))
(aset ideograph-radical-chars-vector radical chars)
- (while chars
- (insert-char-data (car chars) nil attributes ccs)
- (setq chars (cdr chars)))))
+ (dolist (char chars)
+ (when (some (lambda (ccs)
+ (encode-char char ccs))
+ ccss)
+ (insert-char-data char nil attributes ccss)))))
(defun write-ideograph-radical-char-data (radical file)
(if (file-directory-p file)