Cleanup previous PR
This commit is contained in:
parent
3c6766ff06
commit
08221489fd
@ -855,7 +855,7 @@ detect_spacer_strategy(hb_font_t *hbf, Font *font) {
|
||||
// If spacer_strategy is still default, check ### glyph to to confirm strategy
|
||||
// https://github.com/kovidgoyal/kitty/issues/4721
|
||||
if (font->spacer_strategy == SPACERS_BEFORE) {
|
||||
CPUCell cpu_cells[3] = {{.ch = '#'}, {.ch = '#'}, {.ch = '#'}};
|
||||
cpu_cells[0].ch = '#'; cpu_cells[1].ch = '#'; cpu_cells[2].ch = '#';
|
||||
shape(cpu_cells, gpu_cells, arraysz(cpu_cells), hbf, font, false);
|
||||
if (G(num_glyphs) > 1) {
|
||||
glyph_index glyph_id = G(info)[G(num_glyphs) - 1].codepoint;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user