mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-25 03:32:02 +02:00
c8cb5c78a7
[why] We want to replace the existing casks. But they do not have a consistent way to name the casks. Sometimes blanks are preserved (as dashes): "unpatchedName": "DejaVu Sans Mono", "patchedName": "DejaVuSansMono", "caskName": "dejavu-sans-mono", The above looks like cask-name == unpatched-name. Here they introduce blanks out of thin air (the original name does not have blanks): "unpatchedName": "DaddyTimeMono", "patchedName": "DaddyTimeMono", "caskName": "daddy-time-mono", Here they add something to the name??!: "unpatchedName": "Gohu", "patchedName": "Gohu", "caskName": "gohufont", Here the cask-name follows the RFN renaming: "unpatchedName": "Hasklig", "patchedName": "Hasklug", "caskName": "hasklug", Here they do not follow the RFN renaming: "unpatchedName": "Liberation", "patchedName": "LiterationMono", "caskName": "liberation", And there are a lot more ... strangenesses. I guess the casks have been created by different people following different ideas. [how] All these inconsistencies makes setting up rules how to determine the cask name from the other names very complicated and brittle. If we want to preserve the existing cask names the simplest and most stable approach is to explicitely specify them in the fonts.json database: Introduce a new data field "caskName", like shown above. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Contents
This directory contains
- List of all source fonts to patch with CI
- List of all glyphs for the cheat-sheet
Source fonts
The file fonts.json
is used by the github CI to patch all fonts and create all the release zip archives.
The 'font matrix' is derived from it.
get-font-names-from-json.sh
is a small helper to set the matrix up.
Cheat Sheet
The glyphs get their names through the individual (per glyph source) i_*.sh files in this directory. Only glyphs listed here could be found with the cheat sheet.
original-source.otf
:i_seti.sh
devicons.ttf
:i_dev.sh
powerline-symbols/PowerlineSymbols.otf
: is a subset of PowerlineExtraSymbolsPowerlineExtraSymbols.otf
:i_ple.sh
Pomicons.otf
:i_pom.sh
font-awesome/FontAwesome.otf
:i_fa.sh
font-awesome-extension.ttf
:i_fae.sh
Unicode_IEC_symbol_font.otf
:i_iec.sh
materialdesignicons-webfont.ttf
:i_material.sh
weather-icons/weathericons-regular-webfont.ttf
:i_weather.sh
font-logos.ttf
:i_linux.sh
octicons.ttf
:i_oct.sh
codicons/codicon.ttf
:i_cod.sh