diff --git a/bin/scripts/generate-font-image-previews.sh b/bin/scripts/generate-font-image-previews.sh index 6082962ec1..d86727cd24 100755 --- a/bin/scripts/generate-font-image-previews.sh +++ b/bin/scripts/generate-font-image-previews.sh @@ -90,6 +90,7 @@ image_font_files=( \ 'IntelOneMono/Regular/IntoneMonoNerdFont-Regular.ttf' \ 'Iosevka/Regular/IosevkaNerdFont-Regular.ttf' \ 'IosevkaTerm/Regular/IosevkaTermNerdFont-Regular.ttf' \ + 'IosevkaTermSlab/Regular/IosevkaTermSlabNerdFont-Regular.ttf' \ 'JetBrainsMono/Ligatures/Regular/JetBrainsMonoNerdFont-Regular.ttf' \ 'Lekton/Regular/LektonNerdFont-Regular.ttf' \ 'LiberationMono/LiterationMonoNerdFont-Regular.ttf' \ diff --git a/bin/scripts/lib/fonts.json b/bin/scripts/lib/fonts.json index 01486bd70d..59bc7de9a1 100644 --- a/bin/scripts/lib/fonts.json +++ b/bin/scripts/lib/fonts.json @@ -374,6 +374,17 @@ "repoRelease": true, "description": "A narrower variant focusing terminal uses: Arrows and geometric symbols will be narrow to follow typical terminal usages" }, + { + "unpatchedName": "Iosevka Term Slab", + "RFN": false, + "patchedName": "IosevkaTermSlab", + "folderName": "IosevkaTermSlab", + "imagePreviewFont": "IosevkaTermSlab Nerd Font", + "linkPreviewFont": false, + "caskName": "iosevka-term-slab", + "repoRelease": false, + "description": "Nice as Iosevka but with slab serifs" + }, { "unpatchedName": "JetBrains Mono", "RFN": false, diff --git a/readme.md b/readme.md index a4aa805b08..8579a71599 100644 --- a/readme.md +++ b/readme.md @@ -146,6 +146,7 @@ See [Wiki: Icon names in shell][wiki-icon-names-in-shell] | [Intone Mono Nerd Font][p-intel-one-mono] | [Intel One Mono][f-intel-one-mono]| 1.2.1 | YES | ![w] ![m2] ![l] | | [Iosevka Nerd Font][p-iosevka] | [Iosevka][f-iosevka] |22.1.0 | NO | ![w] ![m2] ![l] | | [Iosevka Term Nerd Font][p-iosevka-term] | [Iosevka Term][f-iosevka] |22.1.0 | NO | ![w] ![m2] ![l] | +| [Iosevka Term Slab Nerd Font][p-iosevka-term-slab]| [Iosevka Term Slab][f-iosevka] |22.1.1 | NO | ![w] ![m2] ![l] | | [JetBrains Mono][p-jetbrains-mono] | [JetBrains Mono][f-jetbrains-mono]| 2.304 | NO | ![w] ![m2] ![l] | | [Lekton Nerd Font][p-lekton] | [Lekton][f-lekton] | 34 | NO | ![w] ![m2] ![l] | | [Literation Mono Nerd Font][p-liberation] | [Liberation][f-liberation] | 2.1.5 | YES | ![w] ![m2] ![l] | @@ -703,6 +704,7 @@ Patched Font internal links [p-intel-one-mono]:patched-fonts/IntelOneMono [p-iosevka]:patched-fonts/Iosevka [p-iosevka-term]:patched-fonts/IosevkaTerm +[p-iosevka-term-slab]:patched-fonts/IosevkaTermSlab [p-jetbrains-mono]:patched-fonts/JetBrainsMono [p-lekton]:patched-fonts/Lekton [p-liberation]:patched-fonts/LiberationMono diff --git a/src/unpatched-fonts/IosevkaTermSlab/LICENSE.md b/src/unpatched-fonts/IosevkaTermSlab/LICENSE.md new file mode 100644 index 0000000000..b2a7b6a7e9 --- /dev/null +++ b/src/unpatched-fonts/IosevkaTermSlab/LICENSE.md @@ -0,0 +1,110 @@ +Copyright (c) 2015-2023, Renzhi Li (aka. Belleve Invis, belleve@typeof.net) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. + +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +-------------------------- + + +SIL Open Font License v1.1 +==================================================== + + +Preamble +---------- + +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + + +Definitions +------------- + +`"Font Software"` refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +`"Reserved Font Name"` refers to any names specified as such after the +copyright statement(s). + +`"Original Version"` refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +`"Modified Version"` refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +`"Author"` refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + + +Permission & Conditions +------------------------ + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1. Neither the Font Software nor any of its individual components, + in Original or Modified Versions, may be sold by itself. + +2. Original or Modified Versions of the Font Software may be bundled, + redistributed and/or sold with any software, provided that each copy + contains the above copyright notice and this license. These can be + included either as stand-alone text files, human-readable headers or + in the appropriate machine-readable metadata fields within text or + binary files as long as those fields can be easily viewed by the user. + +3. No Modified Version of the Font Software may use the Reserved Font + Name(s) unless explicit written permission is granted by the corresponding + Copyright Holder. This restriction only applies to the primary font name as + presented to the users. + +4. The name(s) of the Copyright Holder(s) or the Author(s) of the Font + Software shall not be used to promote, endorse or advertise any + Modified Version, except to acknowledge the contribution(s) of the + Copyright Holder(s) and the Author(s) or with their explicit written + permission. + +5. The Font Software, modified or unmodified, in part or in whole, + must be distributed entirely under this license, and must not be + distributed under any other license. The requirement for fonts to + remain under this license does not apply to any document created + using the Font Software. + + + +Termination +----------- + +This license becomes null and void if any of the above conditions are +not met. + + + DISCLAIMER + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT + OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE + COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL + DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM + OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/src/unpatched-fonts/IosevkaTermSlab/README.md b/src/unpatched-fonts/IosevkaTermSlab/README.md new file mode 100644 index 0000000000..000b8acbf2 --- /dev/null +++ b/src/unpatched-fonts/IosevkaTermSlab/README.md @@ -0,0 +1,7 @@ +# Iosevka Term Slab + +**Iosevka Term Slab** is an *open-source*, *slab-serif*, *monospace* + *quasi‑proportional* typeface family, designed for *writing code*, using in *terminals*, and preparing *technical documents*. + +For more information have a look at the upstream website: https://github.com/be5invis/Iosevka + +Version: 22.1.1 diff --git a/src/unpatched-fonts/IosevkaTermSlab/config.cfg b/src/unpatched-fonts/IosevkaTermSlab/config.cfg new file mode 100644 index 0000000000..32c1cec77a --- /dev/null +++ b/src/unpatched-fonts/IosevkaTermSlab/config.cfg @@ -0,0 +1,2 @@ +config_has_powerline=1 +config_patch_flags="--makegroups 4" diff --git a/src/unpatched-fonts/IosevkaTermSlab/copyall.sh b/src/unpatched-fonts/IosevkaTermSlab/copyall.sh new file mode 100755 index 0000000000..0712a24828 --- /dev/null +++ b/src/unpatched-fonts/IosevkaTermSlab/copyall.sh @@ -0,0 +1,33 @@ +#!/usr/bin/env bash + + +#!/usr/bin/env bash + +FONT_VERSION=22.1.1 +TMP_DIR=$(mktemp -d) + +set -e + +curl -LOf "https://github.com/be5invis/Iosevka/releases/download/v${FONT_VERSION}/ttf-iosevka-term-slab-${FONT_VERSION}.zip" --output-dir "${TMP_DIR}" +unzip -d "${TMP_DIR}" "${TMP_DIR}/*.zip" +ls -alh "${TMP_DIR}" + +typefaces=( "" ) + +# weights=( regular italic oblique \ +# thin* extralight* light* medium* semibold* bold* extrabold* heavy* ) + +weights=( regular italic oblique \ + light* medium* bold* extrabold* ) + +for face in "${typefaces[@]}"; do + echo "Processing ${face} ..." + if [ -z "${face}" ]; then + face=. + else + mkdir -p "${face}" + fi + for weight in "${weights[@]}"; do + find "${TMP_DIR}" -name "iosevka-term-slab-${weight}.ttf" -exec mv "{}" "${face}" \; + done +done diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-bold.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-bold.ttf new file mode 100644 index 0000000000..37cf1e7fec Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-bold.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-bolditalic.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-bolditalic.ttf new file mode 100644 index 0000000000..9f64b3ee44 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-bolditalic.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-boldoblique.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-boldoblique.ttf new file mode 100644 index 0000000000..386e5fa383 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-boldoblique.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-extrabold.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-extrabold.ttf new file mode 100644 index 0000000000..369a0fddc0 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-extrabold.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-extrabolditalic.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-extrabolditalic.ttf new file mode 100644 index 0000000000..45e3a45a20 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-extrabolditalic.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-extraboldoblique.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-extraboldoblique.ttf new file mode 100644 index 0000000000..375bdd938a Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-extraboldoblique.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-italic.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-italic.ttf new file mode 100644 index 0000000000..0d6e3644bc Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-italic.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-light.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-light.ttf new file mode 100644 index 0000000000..900d361714 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-light.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-lightitalic.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-lightitalic.ttf new file mode 100644 index 0000000000..ba72fd5b5e Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-lightitalic.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-lightoblique.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-lightoblique.ttf new file mode 100644 index 0000000000..0d1e4901a6 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-lightoblique.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-medium.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-medium.ttf new file mode 100644 index 0000000000..fb0e9ad338 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-medium.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-mediumitalic.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-mediumitalic.ttf new file mode 100644 index 0000000000..0fd857ec34 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-mediumitalic.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-mediumoblique.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-mediumoblique.ttf new file mode 100644 index 0000000000..36fd0a39c0 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-mediumoblique.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-oblique.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-oblique.ttf new file mode 100644 index 0000000000..1f3b3a9776 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-oblique.ttf differ diff --git a/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-regular.ttf b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-regular.ttf new file mode 100644 index 0000000000..c2ff4f3153 Binary files /dev/null and b/src/unpatched-fonts/IosevkaTermSlab/iosevka-term-slab-regular.ttf differ