mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
...
This commit is contained in:
@@ -1509,6 +1509,7 @@ dot_liga_final_component(const char *glyph_name, char *output, size_t output_sz)
|
||||
|
||||
static bool
|
||||
glyph_matches_dot_liga_final_component(hb_font_t *hbf, glyph_index dot_liga_glyph_id, glyph_index current_glyph_id) {
|
||||
// For .liga + placeholder + final glyph cases
|
||||
char dot_liga_name[256], current_name[256], final_component[256];
|
||||
dot_liga_name[sizeof(dot_liga_name)-1] = 0; current_name[sizeof(current_name)-1] = 0;
|
||||
hb_font_glyph_to_string(hbf, dot_liga_glyph_id, dot_liga_name, sizeof(dot_liga_name) - 1);
|
||||
|
||||
Reference in New Issue
Block a user