From 0b6fe9961119b594180b85565f64271151281e2a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 8 Dec 2017 01:10:47 +0530 Subject: [PATCH] Report errors rendering glyphs --- kitty/fonts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/fonts.c b/kitty/fonts.c index d11834df5..9fa33a325 100644 --- a/kitty/fonts.c +++ b/kitty/fonts.c @@ -523,6 +523,7 @@ render_group(unsigned int num_cells, unsigned int num_glyphs, Cell *cells, hb_gl clear_canvas(); bool was_colored = is_emoji(cells->ch); render_glyphs_in_cells(font->face, font->bold, font->italic, info, positions, num_glyphs, canvas, cell_width, cell_height, num_cells, baseline, &was_colored); + if (PyErr_Occurred()) PyErr_Print(); for (unsigned int i = 0; i < num_cells; i++) { sprite_position[i]->rendered = true;