mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-14 04:24:52 +02:00
fontconfig: Prefer semi-bold as bold weight even for system selection
This commit is contained in:
@@ -288,6 +288,8 @@ FC_MONO: int = 100
|
||||
FC_DUAL: int
|
||||
FC_WEIGHT_REGULAR: int
|
||||
FC_WEIGHT_BOLD: int
|
||||
FC_WEIGHT_SEMIBOLD: int
|
||||
FC_WEIGHT_MEDIUM: int
|
||||
FC_WIDTH_NORMAL: int
|
||||
FC_SLANT_ROMAN: int
|
||||
FC_SLANT_ITALIC: int
|
||||
|
||||
@@ -9,11 +9,13 @@ from kitty.fast_data_types import (
|
||||
FC_MONO,
|
||||
FC_SLANT_ITALIC,
|
||||
FC_SLANT_ROMAN,
|
||||
FC_WEIGHT_BOLD,
|
||||
FC_WEIGHT_REGULAR,
|
||||
FC_WIDTH_NORMAL,
|
||||
fc_list,
|
||||
)
|
||||
from kitty.fast_data_types import (
|
||||
FC_WEIGHT_SEMIBOLD as FC_WEIGHT_BOLD,
|
||||
)
|
||||
from kitty.fast_data_types import fc_match as fc_match_impl
|
||||
from kitty.typing import FontConfigPattern
|
||||
|
||||
|
||||
Reference in New Issue
Block a user