77 |
+----+-----+ <--- new descent |
+----+-----+ <--- new descent |
78 |
") |
") |
79 |
|
|
|
;; Encode composition rule RULE into an integer value. RULE is a cons |
|
|
;; of global and new reference point symbols. |
|
|
;; This must be compatible with C macro COMPOSITION_ENCODE_RULE |
|
|
;; defined in composite.h. |
|
80 |
|
|
81 |
|
;;;###autoload |
82 |
(defun encode-composition-rule (rule) |
(defun encode-composition-rule (rule) |
83 |
|
"Encode composition rule RULE into an integer value. |
84 |
|
RULE is a cons of global and new reference point symbols |
85 |
|
\(see reference-point-alist)." |
86 |
|
|
87 |
|
;; This must be compatible with C macro COMPOSITION_ENCODE_RULE |
88 |
|
;; defined in composite.h. |
89 |
|
|
90 |
(if (and (integerp rule) (< rule 144)) |
(if (and (integerp rule) (< rule 144)) |
91 |
;; Already encoded. |
;; Already encoded. |
92 |
rule |
rule |