mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 04:32:05 +00:00
Report when a family has variable fonts
This commit is contained in:
parent
f26b7533c6
commit
8844ae3a10
1 changed files with 3 additions and 0 deletions
|
|
@ -96,6 +96,9 @@ func (h *handler) draw_family_summary(start_x int, sz loop.ScreenSize) (err erro
|
|||
add_line(styles)
|
||||
add_line("")
|
||||
}
|
||||
if s.has_variable_faces {
|
||||
add_line(fmt.Sprintf("This font is %s allowing for finer style control", h.lp.SprintStyled("fg=magenta", "variable")))
|
||||
}
|
||||
add_line(fmt.Sprintf("Press the %s key to choose this family", h.lp.SprintStyled("fg=yellow", "Enter")))
|
||||
} else {
|
||||
lines = append(lines, "Reading font data, please wait…")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue