projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9f05cb
)
Fix text decoration display on stretch glyphs with no box on NS
author
Po Lu
<luangruo@yahoo.com>
Fri, 24 Dec 2021 07:48:27 +0000
(15:48 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Fri, 24 Dec 2021 07:51:34 +0000
(15:51 +0800)
* src/nsterm.m (ns_dumpglyphs_stretch): Draw decorations if
there is no box.
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index 8428c689fd654ab9440d0d1f785b3883fec35ef4..591e28f20b92a1117d4f1d572aa3d485e83f69d3 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-3793,7
+3793,7
@@
ns_dumpglyphs_stretch (struct glyph_string *s)
then decorations will be drawn after drawing the box in
ns_draw_glyph_string, in order to prevent them from being
overwritten by the box. */
- if (s->face->box
!
= FACE_NO_BOX)
+ if (s->face->box
=
= FACE_NO_BOX)
ns_draw_text_decoration (s, face, fgCol, NSWidth (glyphRect),
NSMinX (glyphRect));