mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
(compose-gstring-for-graphic): Fix handling "above" marks.
This commit is contained in:
parent
7042033274
commit
e271d38e79
@ -599,13 +599,13 @@ All non-spacing characters has this function in
|
||||
(setq xoff (- rbearing lb)))
|
||||
((= class 212)
|
||||
(setq xoff (- lbearing ce)
|
||||
yoff (if (>= de 0) 0 (- ascent de))))
|
||||
yoff (if (>= de 0) 0 (- ascent (- de)))))
|
||||
((= class 214)
|
||||
(setq xoff (- center ce)
|
||||
yoff (if (>= de 0) 0 (- ascent de))))
|
||||
yoff (if (>= de 0) 0 (- ascent (- de)))))
|
||||
((= class 216)
|
||||
(setq xoff (- rbearing ce)
|
||||
yoff (if (>= de 0) 0 (- ascent de))))
|
||||
yoff (if (>= de 0) 0 (- ascent (- de)))))
|
||||
((= class 218)
|
||||
(setq xoff (- lbearing ce)
|
||||
yoff (if (> as 0) 0 (+ descent as gap))))
|
||||
@ -621,13 +621,13 @@ All non-spacing characters has this function in
|
||||
(setq xoff (- rbearing lb)))
|
||||
((= class 228)
|
||||
(setq xoff (- lbearing ce)
|
||||
yoff (if (>= de 0) 0 (- ascent de gap))))
|
||||
yoff (if (>= de 0) 0 (- ascent (- de) gap))))
|
||||
((= class 230)
|
||||
(setq xoff (- center ce)
|
||||
yoff (if (>= de 0) 0 (- ascent de gap))))
|
||||
yoff (if (>= de 0) 0 (- ascent (- de) gap))))
|
||||
((= class 232)
|
||||
(setq xoff (- rbearing ce)
|
||||
yoff (if (>= de 0) 0 (- ascent de gap))))))
|
||||
yoff (if (>= de 0) 0 (- ascent (- de) gap))))))
|
||||
(lglyph-set-adjustment glyph (- xoff width) yoff))))))
|
||||
(let ((i 0))
|
||||
(while (and (< i nglyphs) (setq glyph (lgstring-glyph gstring i)))
|
||||
|
Loading…
Reference in New Issue
Block a user