Add ttf-liberation and ttf-dejavu to font selection

This commit is contained in:
Softer 2026-04-17 07:21:57 +03:00
parent 4e4dbd7e9f
commit 8c23a8d9ad
1 changed files with 6 additions and 0 deletions

View File

@ -45,6 +45,8 @@ class FontPackage(StrEnum):
NOTO = 'noto-fonts'
EMOJI = 'noto-fonts-emoji'
CJK = 'noto-fonts-cjk'
LIBERATION = 'ttf-liberation'
DEJAVU = 'ttf-dejavu'
def description(self) -> str:
match self:
@ -54,6 +56,10 @@ class FontPackage(StrEnum):
return tr('color emoji for browsers and apps')
case FontPackage.CJK:
return tr('Chinese, Japanese, Korean characters')
case FontPackage.LIBERATION:
return tr('Arial/Times/Courier replacement, Cyrillic support for Steam/games')
case FontPackage.DEJAVU:
return tr('wide Unicode coverage, good fallback font')
class FontsConfigSerialization(TypedDict):