mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
...
This commit is contained in:
@@ -1003,6 +1003,7 @@ render_groups(FontGroup *fg, Font *font, bool center_glyph) {
|
|||||||
#define a(what) free(global_glyph_render_scratch.what); global_glyph_render_scratch.what = malloc(sz * sizeof(global_glyph_render_scratch.what[0])); if (!global_glyph_render_scratch.what) fatal("Out of memory");
|
#define a(what) free(global_glyph_render_scratch.what); global_glyph_render_scratch.what = malloc(sz * sizeof(global_glyph_render_scratch.what[0])); if (!global_glyph_render_scratch.what) fatal("Out of memory");
|
||||||
a(glyphs); a(sprite_positions);
|
a(glyphs); a(sprite_positions);
|
||||||
#undef a
|
#undef a
|
||||||
|
global_glyph_render_scratch.sz = sz;
|
||||||
}
|
}
|
||||||
for (unsigned i = 0; i < group->num_glyphs; i++) global_glyph_render_scratch.glyphs[i] = G(info)[group->first_glyph_idx + i].codepoint;
|
for (unsigned i = 0; i < group->num_glyphs; i++) global_glyph_render_scratch.glyphs[i] = G(info)[group->first_glyph_idx + i].codepoint;
|
||||||
// We dont want to render the spaces in a space ligature because
|
// We dont want to render the spaces in a space ligature because
|
||||||
|
|||||||
Reference in New Issue
Block a user