1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2025-01-06 21:49:40 +02:00

IntelOneMono: Simplify unpatched directory

[why]
For new fonts we do not create one subdirectory for each font file anymore.
The (historic) reason were the many variants that each font file had been
patched with. Nowadays we just have 3 variants for each font file.

And anyhow this font is release archive released only.

[how]
Simplify update script and move font files.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2024-03-25 23:23:24 +01:00
parent 16e92d2b9c
commit c2861581f2
11 changed files with 10 additions and 13 deletions

View File

@ -449,7 +449,7 @@
"patchedName": "IntoneMono", "patchedName": "IntoneMono",
"folderName": "IntelOneMono", "folderName": "IntelOneMono",
"imagePreviewFont": "IntoneMono Nerd Font", "imagePreviewFont": "IntoneMono Nerd Font",
"imagePreviewFontSource": "IntelOneMono/Regular/IntelOneMono-Regular.ttf", "imagePreviewFontSource": "IntelOneMono/IntelOneMono-Regular.ttf",
"linkPreviewFont": "intel-one-mono", "linkPreviewFont": "intel-one-mono",
"caskName": "intone-mono", "caskName": "intone-mono",
"repoRelease": false, "repoRelease": false,

View File

@ -40,17 +40,14 @@ unzip_file "$TEMP/iom.zip" "$TEMP"
echo "Extracted to $TEMP" echo "Extracted to $TEMP"
echo "Creating directories"
mkdir -p ./Bold/ ./Bold-Italic/ ./Italic/ ./Light/ ./Light-Italic/ ./Medium/ ./Medium-Italic/ ./Regular/
echo "Moving files" echo "Moving files"
mv "$TEMP/ttf/IntelOneMono-Bold.ttf" ./Bold mv "$TEMP/ttf/IntelOneMono-Bold.ttf" .
mv "$TEMP/ttf/IntelOneMono-BoldItalic.ttf" ./Bold-Italic mv "$TEMP/ttf/IntelOneMono-BoldItalic.ttf" .
mv "$TEMP/ttf/IntelOneMono-Italic.ttf" ./Italic mv "$TEMP/ttf/IntelOneMono-Italic.ttf" .
mv "$TEMP/ttf/IntelOneMono-Light.ttf" ./Light mv "$TEMP/ttf/IntelOneMono-Light.ttf" .
mv "$TEMP/ttf/IntelOneMono-LightItalic.ttf" ./Light-Italic mv "$TEMP/ttf/IntelOneMono-LightItalic.ttf" .
mv "$TEMP/ttf/IntelOneMono-Medium.ttf" ./Medium mv "$TEMP/ttf/IntelOneMono-Medium.ttf" .
mv "$TEMP/ttf/IntelOneMono-MediumItalic.ttf" ./Medium-Italic mv "$TEMP/ttf/IntelOneMono-MediumItalic.ttf" .
mv "$TEMP/ttf/IntelOneMono-Regular.ttf" ./Regular mv "$TEMP/ttf/IntelOneMono-Regular.ttf" .
echo "Done. Make sure to patch the fonts now." echo "Done. Make sure to patch the fonts now."

View File

@ -32,7 +32,7 @@ IBMPlexMono/Mono/IBMPlexMono-Regular.ttf
Inconsolata/Inconsolata-Regular.ttf Inconsolata/Inconsolata-Regular.ttf
InconsolataGo/Regular/InconsolataGo-Regular.ttf InconsolataGo/Regular/InconsolataGo-Regular.ttf
InconsolataLGC/Regular/Inconsolata-LGC.ttf InconsolataLGC/Regular/Inconsolata-LGC.ttf
IntelOneMono/Regular/IntelOneMono-Regular.ttf IntelOneMono/IntelOneMono-Regular.ttf
Iosevka/Regular/iosevka-regular.ttf Iosevka/Regular/iosevka-regular.ttf
IosevkaTerm/Regular/iosevka-term-regular.ttf IosevkaTerm/Regular/iosevka-term-regular.ttf
IosevkaTermSlab/iosevka-term-slab-regular.ttf IosevkaTermSlab/iosevka-term-slab-regular.ttf