Report errors rendering glyphs

This commit is contained in:
Kovid Goyal
2017-12-08 01:10:47 +05:30
parent 03847b15f6
commit 0b6fe99611

View File

@@ -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;