From 978110ec243d193fe7084a4bb6dde82586ed98d5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 5 Aug 2024 10:28:38 -0700 Subject: [PATCH] config: update docs --- src/config/Config.zig | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/config/Config.zig b/src/config/Config.zig index ff5a83047..1ffcde919 100644 --- a/src/config/Config.zig +++ b/src/config/Config.zig @@ -49,7 +49,15 @@ const c = @cImport({ /// font. This is particularly useful for multiple languages, symbolic fonts, /// etc. /// -/// If e.g. font-family-bold is not set, font-family is used as a default. +/// The specific styles (bold, italic, bold italic) do not need to be +/// explicitly set. If a style is not set, then the regular style (font-family) +/// will be searched for stylistic variants. If an italic style is not found, +/// Ghostty will auto-italicize the regular style by applying a slant. If +/// a bold style is not found, Ghostty will look for another monospace +/// font. +/// +/// You can disable styles completely by using the `font-style` set of +/// configurations. See the documentation for `font-style` for more information. /// /// If you want to overwrite a previous set value rather than append a fallback, /// specify the value as `""` (empty string) to reset the list and then set the