Skip to content

Commit accd5ef

Browse files
committed
Fix drawing of wide glyphs in Core Text renderer
1 parent 4537063 commit accd5ef

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/gui.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2500,9 +2500,12 @@ gui_outstr_nowrap(s, len, flags, fg, bg, back)
25002500
gui_mch_set_font(wide_font);
25012501
gui_mch_draw_string(gui.row, scol, s + start, thislen,
25022502
# ifdef FEAT_GUI_MACVIM
2503-
cells,
2503+
cells,
2504+
draw_flags | (prev_wide ? DRAW_WIDE : 0)
2505+
# else
2506+
draw_flag
25042507
# endif
2505-
draw_flags);
2508+
);
25062509
if (prev_wide)
25072510
gui_mch_set_font(font);
25082511
start += thislen;

0 commit comments

Comments
 (0)