mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
Merge pull request #2045 from nihaals/font-family-all
Document not every font-family needs to be set
This commit is contained in:
@ -49,6 +49,16 @@ const c = @cImport({
|
|||||||
/// font. This is particularly useful for multiple languages, symbolic fonts,
|
/// font. This is particularly useful for multiple languages, symbolic fonts,
|
||||||
/// etc.
|
/// etc.
|
||||||
///
|
///
|
||||||
|
/// 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,
|
/// 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
|
/// specify the value as `""` (empty string) to reset the list and then set the
|
||||||
/// new values. For example:
|
/// new values. For example:
|
||||||
|
Reference in New Issue
Block a user