X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Futf-2000%2Fchar-db-util.el;h=a79d3596f2a7b54972cbb7f255831f630d376121;hb=4b7bdc73cb23870ab5881a873ab3dc5d5d871c42;hp=74c1128d57b5124bbcb1801e94745576da9a9ace;hpb=ec07cf93e6a8e45fd0f74e5b1ce209f978201bf0;p=chise%2Fxemacs-chise.git.1 diff --git a/lisp/utf-2000/char-db-util.el b/lisp/utf-2000/char-db-util.el index 74c1128..a79d359 100644 --- a/lisp/utf-2000/char-db-util.el +++ b/lisp/utf-2000/char-db-util.el @@ -1,7 +1,7 @@ ;;; char-db-util.el --- Character Database utility -*- coding: utf-8-er; -*- -;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, -;; 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 MORIOKA Tomohiko. +;; Copyright (C) 1998,1999,2000,2001,2002,2003,2004,2005,2006,2007, +;; 2008,2009,2010,2011,2012,2013,2014,2015 MORIOKA Tomohiko. ;; Author: MORIOKA Tomohiko ;; Keywords: CHISE, Character Database, ISO/IEC 10646, UCS, Unicode, MULE. @@ -192,6 +192,7 @@ =daikanwa =daikanwa@rev2 =daikanwa@rev1 + =daikanwa/+p ==daikanwa =cbeta ideograph-hanziku-1 @@ -262,6 +263,7 @@ =>jis-x0213-1@2004 =>jis-x0213-2 ==>ucs@bucs + =>iwds-1 =>ucs@hanyo-denshi =>ucs@iso =>ucs@unicode @@ -620,7 +622,10 @@ (decode-builtin-char '=gt ret)) (t (decode-builtin-char ccs code-point)))) - (cond ((and (<= 0 (char-int ret)) + (cond ((null ret) + (or (decode-char ccs code-point) + (define-char (list (cons ccs code-point))))) + ((and (<= 0 (char-int ret)) (<= (char-int ret) #x1F)) (decode-char '=ucs (+ #x2400 (char-int ret)))) ((= (char-int ret) #x7F) @@ -635,7 +640,8 @@ (insert (format (cond - ((memq name '(==shinjigen + ((memq name '(=>iwds-1 + ==shinjigen =shinjigen =shinjigen@1ed ==shinjigen@1ed =shinjigen@rev ==shinjigen@rev @@ -855,6 +861,12 @@ line-breaking ccss readable) (setq attributes (delq '<-denotational attributes))) + (when (and (memq '<-denotational@component attributes) + (setq value (get-char-attribute char '<-denotational@component))) + (char-db-insert-relation-feature char '<-denotational@component value + line-breaking + ccss readable) + (setq attributes (delq '<-denotational@component attributes))) (when (and (memq 'name attributes) (setq value (get-char-attribute char 'name))) (insert (format