mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-08 17:01:19 +00:00
...
This commit is contained in:
parent
69b9993804
commit
35c30423ea
1 changed files with 1 additions and 2 deletions
|
|
@ -1719,8 +1719,7 @@ render_groups(FontGroup *fg, RunFont rf, bool center_glyph, const TextCache *tc)
|
|||
while (idx <= G(group_idx)) {
|
||||
Group *group = G(groups) + idx;
|
||||
if (!group->num_cells) break;
|
||||
/* printf("Group: idx: %u num_cells: %u num_glyphs: %u first_glyph_idx: %u first_cell_idx: %u total_num_glyphs: %zu\n", */
|
||||
/* idx, group->num_cells, group->num_glyphs, group->first_glyph_idx, group->first_cell_idx, group_state.num_glyphs); */
|
||||
// printf("Group: idx: %u num_cells: %u num_glyphs: %u first_glyph_idx: %u first_cell_idx: %u total_num_glyphs: %zu\n", idx, group->num_cells, group->num_glyphs, group->first_glyph_idx, group->first_cell_idx, group_state.num_glyphs);
|
||||
if (group->num_glyphs) {
|
||||
ensure_glyph_render_scratch_space(MAX(group->num_glyphs, group->num_cells));
|
||||
for (unsigned i = 0; i < group->num_glyphs; i++) global_glyph_render_scratch.glyphs[i] = G(info)[group->first_glyph_idx + i].codepoint;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue