mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-07-17 14:41:22 +00:00
font: use non-mono symbols nerd font for embedded symbols
I changed my mind, this is a pretty small change and relevant to the intent of the PR. This brings the appearance of the embedded symbols much closer to patched fonts. With this, the sizes of most symbols are nearly identical to a patched font, the only big difference is positioning (and TBH I think we do a better job positioning than the patcher does, since we have knowledge about the cell size).
This commit is contained in:
@@ -531,7 +531,7 @@ pub fn add(
|
||||
const nf_symbols = b.dependency("nerd_fonts_symbols_only", .{});
|
||||
step.root_module.addAnonymousImport(
|
||||
"nerd_fonts_symbols_only",
|
||||
.{ .root_source_file = nf_symbols.path("SymbolsNerdFontMono-Regular.ttf") },
|
||||
.{ .root_source_file = nf_symbols.path("SymbolsNerdFont-Regular.ttf") },
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user