mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 15:04:50 +02:00
Split up creation of font group and sending of sprites to GPU
This commit is contained in:
@@ -628,6 +628,7 @@ PYWRAP1(os_window_font_size) {
|
||||
os_window->font_sz_in_pts = new_sz;
|
||||
os_window->fonts_data = NULL;
|
||||
os_window->fonts_data = load_fonts_data(os_window->font_sz_in_pts, os_window->logical_dpi_x, os_window->logical_dpi_y);
|
||||
send_prerendered_sprites_for_window(os_window);
|
||||
resize_screen(os_window, os_window->tab_bar_render_data.screen, false);
|
||||
for (size_t ti = 0; ti < os_window->num_tabs; ti++) {
|
||||
Tab *tab = os_window->tabs + ti;
|
||||
|
||||
Reference in New Issue
Block a user