1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00

download: Fix RFN detection

[why]
Sometimes we change the font name just because ... reasons, without
having being oblieged to do that because of a reserved font name (RFN)
clause.

This is for example the case with M+ that we rename to MPlus (well, it
has both names in principle, but the human readable name in the original
fonts in M+).

Another is "Go Mono" that we rename to "Go-Mono" for whatever reason.

This would also have been needed when `Fira Code` was still RFN and we
got the special permission to patch it without dropping `Fira Code` from
the name (see [1]), to create the correct tagged list.
But Fira Code dropped the RFN some time ago, so no need for this font
anymore.

This also prevents our own Symbols Only fonts to be listed as having RFN.

[how]
But an explicit field into the fonts.json database if the font has an
RFN or not, and decide upon that.

[1] https://github.com/tonsky/FiraCode/issues/767

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2022-11-26 12:29:28 +01:00
parent 76ebfee144
commit 4f78d65627
2 changed files with 76 additions and 23 deletions

View File

@ -2,6 +2,7 @@
"fonts": [ "fonts": [
{ {
"unpatchedName": "3270", "unpatchedName": "3270",
"RFN": false,
"patchedName": "3270", "patchedName": "3270",
"folderName": "3270", "folderName": "3270",
"imagePreviewFont": "3270 Nerd Font", "imagePreviewFont": "3270 Nerd Font",
@ -10,6 +11,7 @@
}, },
{ {
"unpatchedName": "Agave", "unpatchedName": "Agave",
"RFN": false,
"patchedName": "Agave", "patchedName": "Agave",
"folderName": "Agave", "folderName": "Agave",
"imagePreviewFont": "Agave Nerd Font", "imagePreviewFont": "Agave Nerd Font",
@ -17,7 +19,8 @@
"description": "A small, monospace, outline font that is geometrically regular and simple" "description": "A small, monospace, outline font that is geometrically regular and simple"
}, },
{ {
"unpatchedName": "AnonymousPro", "unpatchedName": "Anonymous Pro",
"RFN": true,
"patchedName": "Anonymice", "patchedName": "Anonymice",
"folderName": "AnonymousPro", "folderName": "AnonymousPro",
"imagePreviewFont": "Anonymice Nerd Font", "imagePreviewFont": "Anonymice Nerd Font",
@ -26,6 +29,7 @@
}, },
{ {
"unpatchedName": "Arimo", "unpatchedName": "Arimo",
"RFN": false,
"patchedName": "Arimo", "patchedName": "Arimo",
"folderName": "Arimo", "folderName": "Arimo",
"imagePreviewFont": "Arimo Nerd Font", "imagePreviewFont": "Arimo Nerd Font",
@ -33,7 +37,8 @@
"description": "Metrically similar to Arial, pan-European WGL character set, sans serif" "description": "Metrically similar to Arial, pan-European WGL character set, sans serif"
}, },
{ {
"unpatchedName": "AurulentSansMono", "unpatchedName": "Aurulent Sans Mono",
"RFN": false,
"patchedName": "AurulentSansMono", "patchedName": "AurulentSansMono",
"folderName": "AurulentSansMono", "folderName": "AurulentSansMono",
"imagePreviewFont": "AurulentSansMono Nerd Font", "imagePreviewFont": "AurulentSansMono Nerd Font",
@ -41,7 +46,8 @@
"description": "Sans serif, designed by Stephen G. Hartke which also created Verily Serif" "description": "Sans serif, designed by Stephen G. Hartke which also created Verily Serif"
}, },
{ {
"unpatchedName": "BigBlueTerminal", "unpatchedName": "BigBlue Terminal",
"RFN": false,
"patchedName": "BigBlueTerminal", "patchedName": "BigBlueTerminal",
"folderName": "BigBlueTerminal", "folderName": "BigBlueTerminal",
"imagePreviewFont": "BigBlueTerminal Nerd Font", "imagePreviewFont": "BigBlueTerminal Nerd Font",
@ -49,7 +55,8 @@
"description": "Nostalgic, closely based on IBM's 8x14 EGA/VGA charset" "description": "Nostalgic, closely based on IBM's 8x14 EGA/VGA charset"
}, },
{ {
"unpatchedName": "BitstreamVeraSansMono", "unpatchedName": "Bitstream Vera Sans Mono",
"RFN": false,
"patchedName": "BitstreamVeraSansMono", "patchedName": "BitstreamVeraSansMono",
"folderName": "BitstreamVeraSansMono", "folderName": "BitstreamVeraSansMono",
"imagePreviewFont": "BitstreamVeraSansMono Nerd Font", "imagePreviewFont": "BitstreamVeraSansMono Nerd Font",
@ -58,6 +65,7 @@
}, },
{ {
"unpatchedName": "Cascadia Code", "unpatchedName": "Cascadia Code",
"RFN": true,
"patchedName": "Caskaydia Cove", "patchedName": "Caskaydia Cove",
"folderName": "CascadiaCode", "folderName": "CascadiaCode",
"imagePreviewFont": "Caskaydia Cove Nerd Font", "imagePreviewFont": "Caskaydia Cove Nerd Font",
@ -66,6 +74,7 @@
}, },
{ {
"unpatchedName": "IBM Plex Mono", "unpatchedName": "IBM Plex Mono",
"RFN": true,
"patchedName": "Blex Mono", "patchedName": "Blex Mono",
"folderName": "IBMPlexMono", "folderName": "IBMPlexMono",
"imagePreviewFont": "BlexMono Nerd Font", "imagePreviewFont": "BlexMono Nerd Font",
@ -73,7 +82,8 @@
"description": "It's global, it's versatile and it's distinctly IBM" "description": "It's global, it's versatile and it's distinctly IBM"
}, },
{ {
"unpatchedName": "CodeNewRoman", "unpatchedName": "Code New Roman",
"RFN": false,
"patchedName": "CodeNewRoman", "patchedName": "CodeNewRoman",
"folderName": "CodeNewRoman", "folderName": "CodeNewRoman",
"imagePreviewFont": "CodeNewRoman Nerd Font", "imagePreviewFont": "CodeNewRoman Nerd Font",
@ -82,6 +92,7 @@
}, },
{ {
"unpatchedName": "Cousine", "unpatchedName": "Cousine",
"RFN": false,
"patchedName": "Cousine", "patchedName": "Cousine",
"folderName": "Cousine", "folderName": "Cousine",
"imagePreviewFont": "Cousine Nerd Font", "imagePreviewFont": "Cousine Nerd Font",
@ -90,6 +101,7 @@
}, },
{ {
"unpatchedName": "DaddyTimeMono", "unpatchedName": "DaddyTimeMono",
"RFN": false,
"patchedName": "DaddyTimeMono", "patchedName": "DaddyTimeMono",
"folderName": "DaddyTimeMono", "folderName": "DaddyTimeMono",
"imagePreviewFont": "DaddyTimeMono Nerd Font", "imagePreviewFont": "DaddyTimeMono Nerd Font",
@ -97,7 +109,8 @@
"description": "A monospaced font for programmers and other terminal groupies" "description": "A monospaced font for programmers and other terminal groupies"
}, },
{ {
"unpatchedName": "DejaVuSansMono", "unpatchedName": "DejaVu Sans Mono",
"RFN": false,
"patchedName": "DejaVuSansMono", "patchedName": "DejaVuSansMono",
"folderName": "DejaVuSansMono", "folderName": "DejaVuSansMono",
"imagePreviewFont": "DejaVuSansMono Nerd Font", "imagePreviewFont": "DejaVuSansMono Nerd Font",
@ -105,7 +118,8 @@
"description": "Dotted zero, based on the Bitstream Vera Fonts with a wider range of character" "description": "Dotted zero, based on the Bitstream Vera Fonts with a wider range of character"
}, },
{ {
"unpatchedName": "DroidSansMono", "unpatchedName": "Droid Sans Mono",
"RFN": false,
"patchedName": "DroidSansMono", "patchedName": "DroidSansMono",
"folderName": "DroidSansMono", "folderName": "DroidSansMono",
"imagePreviewFont": "DroidSansMono Nerd Font", "imagePreviewFont": "DroidSansMono Nerd Font",
@ -113,7 +127,8 @@
"description": "Good for small screens or font sizes" "description": "Good for small screens or font sizes"
}, },
{ {
"unpatchedName": "FantasqueSansMono", "unpatchedName": "Fantasque Sans Mono",
"RFN": false,
"patchedName": "FantasqueSansMono", "patchedName": "FantasqueSansMono",
"folderName": "FantasqueSansMono", "folderName": "FantasqueSansMono",
"imagePreviewFont": "FantasqueSansMono Nerd Font", "imagePreviewFont": "FantasqueSansMono Nerd Font",
@ -121,7 +136,8 @@
"description": "\"Wibbly-wobbly handwriting-like fuzziness\", takes some inspiration from Inconsolata and Monaco" "description": "\"Wibbly-wobbly handwriting-like fuzziness\", takes some inspiration from Inconsolata and Monaco"
}, },
{ {
"unpatchedName": "FiraCode", "unpatchedName": "Fira Code",
"RFN": false,
"patchedName": "FiraCode", "patchedName": "FiraCode",
"folderName": "FiraCode", "folderName": "FiraCode",
"imagePreviewFont": "FiraCode Nerd Font", "imagePreviewFont": "FiraCode Nerd Font",
@ -129,7 +145,8 @@
"description": "Programming ligatures, extension of Fira Mono font, enlarged operators" "description": "Programming ligatures, extension of Fira Mono font, enlarged operators"
}, },
{ {
"unpatchedName": "FiraMono", "unpatchedName": "Fira Mono",
"RFN": false,
"patchedName": "FiraMono", "patchedName": "FiraMono",
"folderName": "FiraMono", "folderName": "FiraMono",
"imagePreviewFont": "FiraMono Nerd Font", "imagePreviewFont": "FiraMono Nerd Font",
@ -137,7 +154,8 @@
"description": "Mozilla typeface, dotted zero" "description": "Mozilla typeface, dotted zero"
}, },
{ {
"unpatchedName": "Go-Mono", "unpatchedName": "Go Mono",
"RFN": false,
"patchedName": "Go-Mono", "patchedName": "Go-Mono",
"folderName": "Go-Mono", "folderName": "Go-Mono",
"imagePreviewFont": "Go-Mono Nerd Font", "imagePreviewFont": "Go-Mono Nerd Font",
@ -146,6 +164,7 @@
}, },
{ {
"unpatchedName": "Gohu", "unpatchedName": "Gohu",
"RFN": false,
"patchedName": "Gohu", "patchedName": "Gohu",
"folderName": "Gohu", "folderName": "Gohu",
"imagePreviewFont": "Gohu Nerd Font", "imagePreviewFont": "Gohu Nerd Font",
@ -154,6 +173,7 @@
}, },
{ {
"unpatchedName": "Hack", "unpatchedName": "Hack",
"RFN": false,
"patchedName": "Hack", "patchedName": "Hack",
"folderName": "Hack", "folderName": "Hack",
"imagePreviewFont": "Hack Nerd Font", "imagePreviewFont": "Hack Nerd Font",
@ -162,6 +182,7 @@
}, },
{ {
"unpatchedName": "Hasklig", "unpatchedName": "Hasklig",
"RFN": true,
"patchedName": "Hasklug", "patchedName": "Hasklug",
"folderName": "Hasklig", "folderName": "Hasklig",
"imagePreviewFont": "Hasklug Nerd Font", "imagePreviewFont": "Hasklug Nerd Font",
@ -169,7 +190,8 @@
"description": "Monospaced ligatures, makes composite glyphs (e.g. ->) more reabable, especially in Haskell" "description": "Monospaced ligatures, makes composite glyphs (e.g. ->) more reabable, especially in Haskell"
}, },
{ {
"unpatchedName": "HeavyData", "unpatchedName": "Heavy Data",
"RFN": false,
"patchedName": "HeavyData", "patchedName": "HeavyData",
"folderName": "HeavyData", "folderName": "HeavyData",
"imagePreviewFont": "HeavyData Nerd Font", "imagePreviewFont": "HeavyData Nerd Font",
@ -178,6 +200,7 @@
}, },
{ {
"unpatchedName": "Hermit", "unpatchedName": "Hermit",
"RFN": true,
"patchedName": "Hurmit", "patchedName": "Hurmit",
"folderName": "Hermit", "folderName": "Hermit",
"imagePreviewFont": "Hurmit Nerd Font", "imagePreviewFont": "Hurmit Nerd Font",
@ -186,6 +209,7 @@
}, },
{ {
"unpatchedName": "iA Writer", "unpatchedName": "iA Writer",
"RFN": true,
"patchedName": "iM Writing", "patchedName": "iM Writing",
"folderName": "iA-Writer", "folderName": "iA-Writer",
"imagePreviewFont": "iM Writing Nerd Font", "imagePreviewFont": "iM Writing Nerd Font",
@ -194,6 +218,7 @@
}, },
{ {
"unpatchedName": "Inconsolata", "unpatchedName": "Inconsolata",
"RFN": false,
"patchedName": "Inconsolata", "patchedName": "Inconsolata",
"folderName": "Inconsolata", "folderName": "Inconsolata",
"imagePreviewFont": "Inconsolata Nerd Font", "imagePreviewFont": "Inconsolata Nerd Font",
@ -202,6 +227,7 @@
}, },
{ {
"unpatchedName": "InconsolataGo", "unpatchedName": "InconsolataGo",
"RFN": false,
"patchedName": "InconsolataGo", "patchedName": "InconsolataGo",
"folderName": "InconsolataGo", "folderName": "InconsolataGo",
"imagePreviewFont": "InconsolataGo Nerd Font", "imagePreviewFont": "InconsolataGo Nerd Font",
@ -209,7 +235,8 @@
"description": "Inconsolata with straight quotes" "description": "Inconsolata with straight quotes"
}, },
{ {
"unpatchedName": "InconsolataLGC", "unpatchedName": "Inconsolata LGC",
"RFN": false,
"patchedName": "InconsolataLGC", "patchedName": "InconsolataLGC",
"folderName": "InconsolataLGC", "folderName": "InconsolataLGC",
"imagePreviewFont": "InconsolataLGC Nerd Font", "imagePreviewFont": "InconsolataLGC Nerd Font",
@ -218,6 +245,7 @@
}, },
{ {
"unpatchedName": "Iosevka", "unpatchedName": "Iosevka",
"RFN": false,
"patchedName": "Iosevka", "patchedName": "Iosevka",
"folderName": "Iosevka", "folderName": "Iosevka",
"imagePreviewFont": "Iosevka Nerd Font", "imagePreviewFont": "Iosevka Nerd Font",
@ -225,7 +253,8 @@
"description": "Narrow and horizontally tight characters, slashed zero" "description": "Narrow and horizontally tight characters, slashed zero"
}, },
{ {
"unpatchedName": "JetBrainsMono", "unpatchedName": "JetBrains Mono",
"RFN": false,
"patchedName": "JetBrainsMono", "patchedName": "JetBrainsMono",
"folderName": "JetBrainsMono", "folderName": "JetBrainsMono",
"imagePreviewFont": "JetBrainsMono Nerd Font", "imagePreviewFont": "JetBrainsMono Nerd Font",
@ -234,6 +263,7 @@
}, },
{ {
"unpatchedName": "Lekton", "unpatchedName": "Lekton",
"RFN": false,
"patchedName": "Lekton", "patchedName": "Lekton",
"folderName": "Lekton", "folderName": "Lekton",
"imagePreviewFont": "Lekton Nerd Font", "imagePreviewFont": "Lekton Nerd Font",
@ -241,7 +271,8 @@
"description": "Very light and thin characters, sharp m's, `0` and `O` very similar" "description": "Very light and thin characters, sharp m's, `0` and `O` very similar"
}, },
{ {
"unpatchedName": "LiberationMono", "unpatchedName": "Liberation Mono",
"RFN": true,
"patchedName": "LiterationMono", "patchedName": "LiterationMono",
"folderName": "LiberationMono", "folderName": "LiberationMono",
"imagePreviewFont": "LiterationMono Nerd Font", "imagePreviewFont": "LiterationMono Nerd Font",
@ -250,6 +281,7 @@
}, },
{ {
"unpatchedName": "Lilex", "unpatchedName": "Lilex",
"RFN": false,
"patchedName": "Lilex", "patchedName": "Lilex",
"folderName": "Lilex", "folderName": "Lilex",
"imagePreviewFont": "Lilex Nerd Font", "imagePreviewFont": "Lilex Nerd Font",
@ -258,6 +290,7 @@
}, },
{ {
"unpatchedName": "Meslo", "unpatchedName": "Meslo",
"RFN": false,
"patchedName": "Meslo", "patchedName": "Meslo",
"folderName": "Meslo", "folderName": "Meslo",
"imagePreviewFont": "Meslo Nerd Font", "imagePreviewFont": "Meslo Nerd Font",
@ -266,6 +299,7 @@
}, },
{ {
"unpatchedName": "Monofur", "unpatchedName": "Monofur",
"RFN": false,
"patchedName": "Monofur", "patchedName": "Monofur",
"folderName": "Monofur", "folderName": "Monofur",
"imagePreviewFont": "Monofur Nerd Font", "imagePreviewFont": "Monofur Nerd Font",
@ -274,6 +308,7 @@
}, },
{ {
"unpatchedName": "Monoid", "unpatchedName": "Monoid",
"RFN": false,
"patchedName": "Monoid", "patchedName": "Monoid",
"folderName": "Monoid", "folderName": "Monoid",
"imagePreviewFont": "Monoid Nerd Font", "imagePreviewFont": "Monoid Nerd Font",
@ -282,6 +317,7 @@
}, },
{ {
"unpatchedName": "Mononoki", "unpatchedName": "Mononoki",
"RFN": false,
"patchedName": "Mononoki", "patchedName": "Mononoki",
"folderName": "Mononoki", "folderName": "Mononoki",
"imagePreviewFont": "Mononoki Nerd Font", "imagePreviewFont": "Mononoki Nerd Font",
@ -289,7 +325,8 @@
"description": "Keeps in mind differentiation of characters and resolution sizes" "description": "Keeps in mind differentiation of characters and resolution sizes"
}, },
{ {
"unpatchedName": "MPlus", "unpatchedName": "M+",
"RFN": false,
"patchedName": "MPlus", "patchedName": "MPlus",
"folderName": "MPlus", "folderName": "MPlus",
"imagePreviewFont": "MPlus Nerd Font", "imagePreviewFont": "MPlus Nerd Font",
@ -298,6 +335,7 @@
}, },
{ {
"unpatchedName": "Noto", "unpatchedName": "Noto",
"RFN": false,
"patchedName": "Noto", "patchedName": "Noto",
"folderName": "Noto", "folderName": "Noto",
"imagePreviewFont": "Noto Nerd Font", "imagePreviewFont": "Noto Nerd Font",
@ -306,6 +344,7 @@
}, },
{ {
"unpatchedName": "ProFont", "unpatchedName": "ProFont",
"RFN": false,
"patchedName": "ProFont", "patchedName": "ProFont",
"folderName": "ProFont", "folderName": "ProFont",
"imagePreviewFont": "ProFont Nerd Font", "imagePreviewFont": "ProFont Nerd Font",
@ -314,6 +353,7 @@
}, },
{ {
"unpatchedName": "ProggyClean", "unpatchedName": "ProggyClean",
"RFN": false,
"patchedName": "ProggyClean", "patchedName": "ProggyClean",
"folderName": "ProggyClean", "folderName": "ProggyClean",
"imagePreviewFont": "ProggyClean Nerd Font", "imagePreviewFont": "ProggyClean Nerd Font",
@ -322,6 +362,7 @@
}, },
{ {
"unpatchedName": "OpenDyslexic", "unpatchedName": "OpenDyslexic",
"RFN": false,
"patchedName": "OpenDyslexic", "patchedName": "OpenDyslexic",
"folderName": "OpenDyslexic", "folderName": "OpenDyslexic",
"imagePreviewFont": "OpenDyslexic Nerd Font", "imagePreviewFont": "OpenDyslexic Nerd Font",
@ -330,6 +371,7 @@
}, },
{ {
"unpatchedName": "Overpass", "unpatchedName": "Overpass",
"RFN": false,
"patchedName": "Overpass", "patchedName": "Overpass",
"folderName": "Overpass", "folderName": "Overpass",
"imagePreviewFont": "Overpass Nerd Font", "imagePreviewFont": "Overpass Nerd Font",
@ -337,7 +379,8 @@
"description": "An open source font family inspired by Highway Gothic" "description": "An open source font family inspired by Highway Gothic"
}, },
{ {
"unpatchedName": "RobotoMono", "unpatchedName": "Roboto Mono",
"RFN": false,
"patchedName": "RobotoMono", "patchedName": "RobotoMono",
"folderName": "RobotoMono", "folderName": "RobotoMono",
"imagePreviewFont": "RobotoMono Nerd Font", "imagePreviewFont": "RobotoMono Nerd Font",
@ -345,7 +388,8 @@
"description": "Dashed zero, curved and straight character lines" "description": "Dashed zero, curved and straight character lines"
}, },
{ {
"unpatchedName": "ShareTechMono", "unpatchedName": "Share Tech Mono",
"RFN": true,
"patchedName": "ShureTechMono", "patchedName": "ShureTechMono",
"folderName": "ShareTechMono", "folderName": "ShareTechMono",
"imagePreviewFont": "ShureTechMono Nerd Font", "imagePreviewFont": "ShureTechMono Nerd Font",
@ -353,7 +397,8 @@
"description": "Dotted zeros, distinguishable 1 and l, curved and straight character lines" "description": "Dotted zeros, distinguishable 1 and l, curved and straight character lines"
}, },
{ {
"unpatchedName": "SourceCodePro", "unpatchedName": "Source Code Pro",
"RFN": true,
"patchedName": "SauceCodePro", "patchedName": "SauceCodePro",
"folderName": "SourceCodePro", "folderName": "SourceCodePro",
"imagePreviewFont": "Sauce Code Pro Nerd Font", "imagePreviewFont": "Sauce Code Pro Nerd Font",
@ -361,7 +406,8 @@
"description": "Monospaced font family for user interface and coding environments" "description": "Monospaced font family for user interface and coding environments"
}, },
{ {
"unpatchedName": "SpaceMono", "unpatchedName": "Space Mono",
"RFN": false,
"patchedName": "SpaceMono", "patchedName": "SpaceMono",
"folderName": "SpaceMono", "folderName": "SpaceMono",
"imagePreviewFont": "SpaceMono Nerd Font", "imagePreviewFont": "SpaceMono Nerd Font",
@ -370,6 +416,7 @@
}, },
{ {
"unpatchedName": "Symbols Template 1000 EM", "unpatchedName": "Symbols Template 1000 EM",
"RFN": false,
"patchedName": "Symbols-1000-em Nerd Font Complete", "patchedName": "Symbols-1000-em Nerd Font Complete",
"folderName": "NerdFontsSymbolsOnly", "folderName": "NerdFontsSymbolsOnly",
"imagePreviewFont": "", "imagePreviewFont": "",
@ -378,6 +425,7 @@
}, },
{ {
"unpatchedName": "Symbols Template 2048 EM", "unpatchedName": "Symbols Template 2048 EM",
"RFN": false,
"patchedName": "Symbols-2048-em Nerd Font Complete", "patchedName": "Symbols-2048-em Nerd Font Complete",
"folderName": "NerdFontsSymbolsOnly", "folderName": "NerdFontsSymbolsOnly",
"imagePreviewFont": "", "imagePreviewFont": "",
@ -386,6 +434,7 @@
}, },
{ {
"unpatchedName": "Terminus", "unpatchedName": "Terminus",
"RFN": true,
"patchedName": "Terminess", "patchedName": "Terminess",
"folderName": "Terminus", "folderName": "Terminus",
"imagePreviewFont": "TerminessTTF Nerd Font", "imagePreviewFont": "TerminessTTF Nerd Font",
@ -394,6 +443,7 @@
}, },
{ {
"unpatchedName": "Tinos", "unpatchedName": "Tinos",
"RFN": false,
"patchedName": "Tinos", "patchedName": "Tinos",
"folderName": "Tinos", "folderName": "Tinos",
"imagePreviewFont": "Tinos Nerd Font", "imagePreviewFont": "Tinos Nerd Font",
@ -402,6 +452,7 @@
}, },
{ {
"unpatchedName": "Ubuntu", "unpatchedName": "Ubuntu",
"RFN": false,
"patchedName": "Ubuntu", "patchedName": "Ubuntu",
"folderName": "Ubuntu", "folderName": "Ubuntu",
"imagePreviewFont": "Ubuntu Nerd Font", "imagePreviewFont": "Ubuntu Nerd Font",
@ -409,7 +460,8 @@
"description": "Specially created for Ubuntu" "description": "Specially created for Ubuntu"
}, },
{ {
"unpatchedName": "UbuntuMono", "unpatchedName": "Ubuntu Mono",
"RFN": false,
"patchedName": "UbuntuMono", "patchedName": "UbuntuMono",
"folderName": "UbuntuMono", "folderName": "UbuntuMono",
"imagePreviewFont": "UbuntuMono Nerd Font", "imagePreviewFont": "UbuntuMono Nerd Font",
@ -417,7 +469,8 @@
"description": "Dotted zeros, used the `n`, `o`, `H` &amp; `O` Latin characters as a base for design" "description": "Dotted zeros, used the `n`, `o`, `H` &amp; `O` Latin characters as a base for design"
}, },
{ {
"unpatchedName": "VictorMono", "unpatchedName": "Victor Mono",
"RFN": false,
"patchedName": "VictorMono", "patchedName": "VictorMono",
"folderName": "VictorMono", "folderName": "VictorMono",
"imagePreviewFont": "VictorMono Nerd Font", "imagePreviewFont": "VictorMono Nerd Font",

View File

@ -16,7 +16,7 @@ page: font-downloads
</a> </a>
{% assign upN = font.unpatchedName | split: " " | join: "" %} {% assign upN = font.unpatchedName | split: " " | join: "" %}
{% assign pN = font.patchedName | split: " " | join: "" %} {% assign pN = font.patchedName | split: " " | join: "" %}
{% if upN != pN %}<div><strong>&bull; Reserved Font Name:</strong> {{ font.unpatchedName }}</div>{% endif %} {% if upN != pN %}<div><strong>&bull; {% if font.RFN == true %}Reserved{% else %}Original{% endif %} Font Name:</strong> {{ font.unpatchedName }}</div>{% endif %}
<div><strong>&bull; Info:</strong> {{ font.description }}</div> <div><strong>&bull; Info:</strong> {{ font.description }}</div>
<div class="nerd-font-buttons-wrapper"> <div class="nerd-font-buttons-wrapper">
<a href="https://github.com/ryanoasis/nerd-fonts/releases/download/v{{ site.current_version }}/{{ font.folderName }}.zip" class="inlineblock bg-green border-white text-white nerd-font-button nf-fa-download">Download</a> <a href="https://github.com/ryanoasis/nerd-fonts/releases/download/v{{ site.current_version }}/{{ font.folderName }}.zip" class="inlineblock bg-green border-white text-white nerd-font-button nf-fa-download">Download</a>