mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-05 19:08:17 +00:00
Compare commits
1 Commits
d316449ebf
...
push-qousk
Author | SHA1 | Date | |
---|---|---|---|
![]() |
129ca02f95 |
@@ -291,6 +291,15 @@ fn collection(
|
||||
load_options.faceOptions(),
|
||||
) },
|
||||
);
|
||||
_ = try c.add(
|
||||
self.alloc,
|
||||
.regular,
|
||||
.{ .fallback_loaded = try Face.init(
|
||||
self.font_lib,
|
||||
font.embedded.symbols,
|
||||
load_options.faceOptions(),
|
||||
) },
|
||||
);
|
||||
|
||||
// On macOS, always search for and add the Apple Emoji font
|
||||
// as our preferred emoji font for fallback. We do this in case
|
||||
|
@@ -6,12 +6,13 @@
|
||||
//! redistribution and include their license as necessary.
|
||||
|
||||
/// Default fonts that we prefer for Ghostty.
|
||||
pub const regular = @embedFile("res/JetBrainsMonoNerdFont-Regular.ttf");
|
||||
pub const bold = @embedFile("res/JetBrainsMonoNerdFont-Bold.ttf");
|
||||
pub const italic = @embedFile("res/JetBrainsMonoNerdFont-Italic.ttf");
|
||||
pub const bold_italic = @embedFile("res/JetBrainsMonoNerdFont-BoldItalic.ttf");
|
||||
pub const regular = @embedFile("res/JetBrainsMono-Regular.ttf");
|
||||
pub const bold = @embedFile("res/JetBrainsMono-Bold.ttf");
|
||||
pub const italic = @embedFile("res/JetBrainsMono-Italic.ttf");
|
||||
pub const bold_italic = @embedFile("res/JetBrainsMono-BoldItalic.ttf");
|
||||
pub const emoji = @embedFile("res/NotoColorEmoji.ttf");
|
||||
pub const emoji_text = @embedFile("res/NotoEmoji-Regular.ttf");
|
||||
pub const symbols = @embedFile("res/SymbolsNerdFontMono-Regular.ttf");
|
||||
|
||||
/// Fonts with general properties
|
||||
pub const arabic = @embedFile("res/KawkabMono-Regular.ttf");
|
||||
@@ -24,7 +25,7 @@ pub const nerd_font = @embedFile("res/JetBrainsMonoNerdFont-Regular.ttf");
|
||||
pub const code_new_roman = @embedFile("res/CodeNewRoman-Regular.otf");
|
||||
pub const inconsolata = @embedFile("res/Inconsolata-Regular.ttf");
|
||||
pub const geist_mono = @embedFile("res/GeistMono-Regular.ttf");
|
||||
pub const jetbrains_mono = @embedFile("res/JetBrainsMonoNoNF-Regular.ttf");
|
||||
pub const jetbrains_mono = @embedFile("res/JetBrainsMono-Regular.ttf");
|
||||
pub const julia_mono = @embedFile("res/JuliaMono-Regular.ttf");
|
||||
|
||||
/// Cozette is a unique font because it embeds some emoji characters
|
||||
|
BIN
src/font/res/JetBrainsMono-Bold.ttf
Normal file
BIN
src/font/res/JetBrainsMono-Bold.ttf
Normal file
Binary file not shown.
BIN
src/font/res/JetBrainsMono-BoldItalic.ttf
Normal file
BIN
src/font/res/JetBrainsMono-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
src/font/res/JetBrainsMono-Italic.ttf
Normal file
BIN
src/font/res/JetBrainsMono-Italic.ttf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/font/res/SymbolsNerdFontMono-Regular.ttf
Normal file
BIN
src/font/res/SymbolsNerdFontMono-Regular.ttf
Normal file
Binary file not shown.
Reference in New Issue
Block a user