Function: lao-composition-function
lao-composition-function is an autoloaded and byte-compiled function
defined in lao-util.el.gz.
Signature
(lao-composition-function GSTRING DIRECTION)
Source Code
;; Defined in /usr/src/emacs/lisp/language/lao-util.el.gz
;;;###autoload
(defun lao-composition-function (gstring direction)
(if (= (lgstring-char-len gstring) 1)
(compose-gstring-for-graphic gstring direction)
(or (font-shape-gstring gstring direction)
(let ((glyph-len (lgstring-glyph-len gstring))
(i 0)) ;; glyph
(while (and (< i glyph-len)
;; (setq glyph
(lgstring-glyph gstring i)) ;;)
(setq i (1+ i)))
(compose-glyph-string-relative gstring 0 i 0.1)))))