[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 552b74b: Fix text decoration display on stretch glyphs with no bo
From: |
Po Lu |
Subject: |
master 552b74b: Fix text decoration display on stretch glyphs with no box on NS |
Date: |
Fri, 24 Dec 2021 02:51:52 -0500 (EST) |
branch: master
commit 552b74ba9ec0fa0486b86bea561e499ca13e92ca
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Fix text decoration display on stretch glyphs with no box on NS
* src/nsterm.m (ns_dumpglyphs_stretch): Draw decorations if
there is no box.
---
src/nsterm.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nsterm.m b/src/nsterm.m
index 8428c68..591e28f 100644
--- 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));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 552b74b: Fix text decoration display on stretch glyphs with no box on NS,
Po Lu <=