build: update font handling to include multiple font fallbacks
This commit is contained in:
+44
-19
@@ -3,29 +3,44 @@
|
|||||||
-- ╰─────────────────────────────────────────────────────────╯
|
-- ╰─────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
return {
|
return {
|
||||||
-- Terminal Font
|
-- Terminal Font Size
|
||||||
font = WEZTERM.font({
|
|
||||||
family = "Iosevka",
|
|
||||||
weight = "Regular",
|
|
||||||
harfbuzz_features = {
|
|
||||||
"VSAH=7",
|
|
||||||
"VSAF=3",
|
|
||||||
"VSAI=3",
|
|
||||||
"VSAJ=8",
|
|
||||||
"VSAM=4",
|
|
||||||
"VLAB=5",
|
|
||||||
"cv10=7",
|
|
||||||
"cv41=3",
|
|
||||||
"cv44=6",
|
|
||||||
"cv07=4",
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
font_size = 12.0,
|
font_size = 12.0,
|
||||||
-- Fancy Tab Bar Font
|
-- Terminal Font
|
||||||
|
font = WEZTERM.font_with_fallback({
|
||||||
|
{
|
||||||
|
-- Font Family
|
||||||
|
family = "Iosevka",
|
||||||
|
-- Font Weight
|
||||||
|
weight = "Regular",
|
||||||
|
-- Character Varients and Ligatures
|
||||||
|
harfbuzz_features = {
|
||||||
|
"VSAH=7",
|
||||||
|
"VSAF=3",
|
||||||
|
"VSAI=3",
|
||||||
|
"VSAJ=8",
|
||||||
|
"VSAM=4",
|
||||||
|
"VLAB=5",
|
||||||
|
"cv10=7",
|
||||||
|
"cv41=3",
|
||||||
|
"cv44=6",
|
||||||
|
"cv07=4",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"Symbols Nerd Font",
|
||||||
|
"Symbols Nerd Font Mono",
|
||||||
|
"VictorMono Nerd Font",
|
||||||
|
"MonaspaceKrypton Nerd Font",
|
||||||
|
"Roboto",
|
||||||
|
"Cascadia Code",
|
||||||
|
}),
|
||||||
|
-- Tab Font
|
||||||
window_frame = {
|
window_frame = {
|
||||||
font = WEZTERM.font({
|
font = WEZTERM.font({
|
||||||
|
-- Tab Font Family
|
||||||
family = "Iosevka",
|
family = "Iosevka",
|
||||||
|
-- Tab Font Weight
|
||||||
weight = "Medium",
|
weight = "Medium",
|
||||||
|
-- Character Varients and Ligatures
|
||||||
harfbuzz_features = {
|
harfbuzz_features = {
|
||||||
"VSAH=7",
|
"VSAH=7",
|
||||||
"VSAF=3",
|
"VSAF=3",
|
||||||
@@ -39,8 +54,18 @@ return {
|
|||||||
"cv07=4",
|
"cv07=4",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
-- Tab Font Size
|
||||||
font_size = 11,
|
font_size = 11,
|
||||||
},
|
},
|
||||||
-- Cursor Shape
|
-- Cell Width
|
||||||
|
cell_width = 1.0,
|
||||||
|
-- ANSI Colors
|
||||||
|
bold_brightens_ansi_colors = "BrightAndBold",
|
||||||
|
-- FreeType Load Flags
|
||||||
|
freetype_load_flags = "DEFAULT",
|
||||||
|
-- FreeType Load Target
|
||||||
|
freetype_load_target = "Normal",
|
||||||
|
-- Default Cursor Shape
|
||||||
default_cursor_style = "BlinkingBar",
|
default_cursor_style = "BlinkingBar",
|
||||||
|
-- Fallback Fonts
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user