diff --git a/.config/wezterm/fonts.lua b/.config/wezterm/fonts.lua index 5d823e6..886b9fb 100644 --- a/.config/wezterm/fonts.lua +++ b/.config/wezterm/fonts.lua @@ -4,6 +4,8 @@ local fonts = {} local family = "Iosevka Custom" +-- Automatically includes fallback for nerd font symbols, +-- so it doesn't require a patched font. fonts.regular = wezterm.font({ family = family, weight = "Regular", diff --git a/.local/share/fonts/NerdFontsSymbolsOnly/LICENSE b/.local/share/fonts/NerdFontsSymbolsOnly/LICENSE new file mode 100644 index 0000000..06eb073 --- /dev/null +++ b/.local/share/fonts/NerdFontsSymbolsOnly/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Ryan L McIntyre + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/.local/share/fonts/NerdFontsSymbolsOnly/README.md b/.local/share/fonts/NerdFontsSymbolsOnly/README.md new file mode 100644 index 0000000..ccbcca3 --- /dev/null +++ b/.local/share/fonts/NerdFontsSymbolsOnly/README.md @@ -0,0 +1,46 @@ +# Nerd Fonts + +This is an archived font from the Nerd Fonts release v3.1.1. + +For more information see: +* https://github.com/ryanoasis/nerd-fonts/ +* https://github.com/ryanoasis/nerd-fonts/releases/latest/ + +# Symbols Only + +This font contains (in the patched-fonts folder) all symbols and is intended to be used +as fallback or together with fontconfig - so that you do not need to individually +patch all the fonts. YMMV. + +## Which font? + +### TL;DR + +* Pick your font family: + * If you are limited to monospaced fonts (because of your terminal, etc) then pick a font with `Nerd Font Mono` (or `NFM`). + * If you want to have bigger icons (usually around 1.5 normal letters wide) pick a font without `Mono` i.e. `Nerd Font` (or `NF`). Most terminals support this, but ymmv. + * If you work in a proportional context (GUI elements or edit a presentation etc) pick a font with `Nerd Font Propo` (or `NFP`). + +### Ligatures + +Ligatures are generally preserved in the patched fonts. +Nerd Fonts `v2.0.0` had no ligatures in the `Nerd Font Mono` fonts, this has been dropped with `v2.1.0`. +If you have a ligature-aware terminal and don't want ligatures you can (usually) disable them in the terminal settings. + +### Explanation + +Once you narrow down your font choice of family (`Droid Sans`, `Inconsolata`, etc) and style (`bold`, `italic`, etc) you have 2 main choices: + +#### `Option 1: Download already patched font` + + * For a stable version download a font package from the [release page](https://github.com/ryanoasis/nerd-fonts/releases) + * Or download the development version from the folders here + +#### `Option 2: Patch your own font` + + * Patch your own variations with the various options provided by the font patcher (i.e. not include all symbols for smaller font size) + +For more information see: [The FAQ](https://github.com/ryanoasis/nerd-fonts/wiki/FAQ-and-Troubleshooting#which-font) + +[SIL-RFN]:http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web_fonts_and_RFNs#14cbfd4a + diff --git a/.local/share/fonts/NerdFontsSymbolsOnly/SymbolsNerdFont-Regular.ttf b/.local/share/fonts/NerdFontsSymbolsOnly/SymbolsNerdFont-Regular.ttf new file mode 100644 index 0000000..e7ce229 Binary files /dev/null and b/.local/share/fonts/NerdFontsSymbolsOnly/SymbolsNerdFont-Regular.ttf differ diff --git a/.local/share/fonts/NerdFontsSymbolsOnly/SymbolsNerdFontMono-Regular.ttf b/.local/share/fonts/NerdFontsSymbolsOnly/SymbolsNerdFontMono-Regular.ttf new file mode 100644 index 0000000..7ef73a9 Binary files /dev/null and b/.local/share/fonts/NerdFontsSymbolsOnly/SymbolsNerdFontMono-Regular.ttf differ