Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
70a6526c
Commit
70a6526c
authored
Aug 29, 2008
by
Kenichi Handa
Browse files
(lao-composition-function): Fix previous change.
parent
77fa4db2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lisp/language/lao-util.el
lisp/language/lao-util.el
+4
-4
No files found.
lisp/language/lao-util.el
View file @
70a6526c
...
@@ -491,17 +491,17 @@ syllable. In that case, FROM and TO are indexes to STR."
...
@@ -491,17 +491,17 @@ syllable. In that case, FROM and TO are indexes to STR."
lao-str)))
lao-str)))
;;;###autoload
;;;###autoload
(defun lao-composition-function (
from to font-object
string)
(defun lao-composition-function (
g
string)
(if (= (lgst
i
rng-char-len gstring) 1)
(if (= (lgstr
i
ng-char-len gstring) 1)
(compose-gstring-for-graphic gstring)
(compose-gstring-for-graphic gstring)
(or (font-shape-
text from to font-object
string)
)
(or (font-shape-
gstring g
string)
(let ((glyph-len (lgstring-glyph-len gstring))
(let ((glyph-len (lgstring-glyph-len gstring))
(i 0)
(i 0)
glyph)
glyph)
(while (and (< i glyph-len)
(while (and (< i glyph-len)
(setq glyph (lgstring-glyph gstring i)))
(setq glyph (lgstring-glyph gstring i)))
(setq i (1+ i)))
(setq i (1+ i)))
(compose-glyph-string-relative gstring 0 i 0.1))))
(compose-glyph-string-relative gstring 0 i 0.1))))
)
;;;###autoload
;;;###autoload
(defun lao-compose-region (from to)
(defun lao-compose-region (from to)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment