Commit graph

2634 commits

Author SHA1 Message Date
Fini Jastrow
be48f93710 name-parser: Fix style names two-language-mode
[why]
The code needlessly create two language ID17 even if ID16 is only one
entry / one languange. ID17 is always the same for both languages.

This is an example for the wrong way:

======== BlexMonoNerdFont-Text.ttf ========
SFNT Fullname      ID 4     BlexMono Nerd Font Text
SFNT Family        ID 1     BlexMono Nerd Font Text
SFNT SubFamily     ID 2     Regular
SFNT Pref Family   ID 16    BlexMono Nerd Font
SFNT Pref Styles   ID 17    ('Text', 'Text')
SFNT PS Name       ID 6     BlexMonoNF-Text
SFNT Compatible    ID 18    -
SFNT CID findfont  ID 20    -
SFNT WWS Family    ID 21    -
SFNT WWS SubFamily ID 22    -
PS fontname                 BlexMonoNF-Text
PS fullname                 BlexMono Nerd Font Text
PS familyname               BlexMono Nerd Font Text
fondname                    None

This is an example for the correct way (two ID17 when we have two ID16):

======== NotoSerifCondensedNerdFont-BlackItalic.ttf ========
SFNT Fullname      ID 4     NotoSerif Condensed NF Black Italic
SFNT Family        ID 1     NotoSerif Cond NF Black
SFNT SubFamily     ID 2     Italic
SFNT Pref Family   ID 16    ('NotoSerif Condensed Nerd Font', 'NotoSerif Cond NF')
SFNT Pref Styles   ID 17    ('Black Italic', 'Black Italic')
SFNT PS Name       ID 6     NotoSerifCondensedNF-BlackItalic
SFNT Compatible    ID 18    -
SFNT CID findfont  ID 20    -
SFNT WWS Family    ID 21    -
SFNT WWS SubFamily ID 22    -
PS fontname                 NotoSerifCondensedNF-BlackItalic
PS fullname                 NotoSerif Condensed NF Black Italic
PS familyname               NotoSerif Cond NF Black
fondname                    None

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-03 16:18:46 +02:00
Fini Jastrow
9d1f4a2cda ZedMono: Add missing font face
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-03 16:18:46 +02:00
Finii
e8d5f5aa5f [ci] Update FontPatcher.zip 2024-04-02 18:51:05 +00:00
Fini
830d0e652f
Merge pull request #1585 from ryanoasis/feature/font-logos-120
Update Font Logos to 1.2.0
2024-04-02 20:41:53 +02:00
Fini Jastrow
92c5b0f3e0 Update Font Logos to 1.2.0
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-02 20:38:36 +02:00
Finii
de477f234e [ci] Update FontPatcher.zip 2024-04-02 16:27:13 +00:00
Fini Jastrow
fecea24083 Font Awesome: Correct license audit
We specifically use the SVGs to create the intermediate carrier (font
file) that is used later to patch fonts, to get the icons with a more
relaxed license. That should be noted in the audit.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-02 18:24:46 +02:00
Fini Jastrow
f089ee8a6e Font Awesome: Update to 6.5.1
This does not pull in all icons of 6.5.1, but only of
'Region A' and 'Region B', see script `remix` and
PR #1563.

It keeps the codepoints constant for existing icons.

Fixes: #1550

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-02 18:24:46 +02:00
Finii
a7f57cb8f3 [ci] Update .gitignore file 2024-04-02 16:23:04 +00:00
Fini Jastrow
09c6c8988c Add Ubuntu Sans
Prevent the "SansMono" becomes "SansM" rule for UbuntuSansMono.

Fixes: #1435

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-02 18:21:29 +02:00
Finii
6f485ab680 [ci] Update .gitignore file 2024-04-02 14:06:48 +00:00
Fini
8bf4989399
Merge pull request #1504 from cabrinha/zed-fonts
Add font Zed Mono
2024-04-02 16:04:07 +02:00
Fini Jastrow
3d7aa9298c name-parser: Sort Widths before Weights
[why]
Usually we want the width before the weight:

ZedMono Nerd Font Extended ExtraBold Italic

but we get:

ZedMono Nerd Font ExtraBold Extended Italic

The reason is that we do not sort widths and weights and handle them as
one list, keeping the original order.

All fonts but Zed have the width before the weight and it never turned
up

[how]
Handle widths and weights on their own and only afterwards concattenate
width (first) to weights (second).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-02 15:59:21 +02:00
Fini Jastrow
f2862d4475 Fix CodeClimate Fix
[why]
When we add a dummy we need to remove that later on.

Originally that has been introduces to avoid a wrong code duplication
warning.

See how the blank leaks into the name:

ERROR: ====-< Family (ID 1)      too long (38 > 31): ZedMono Nerd Font Extended ExtraBold
DEBUG: =====> SubFamily (ID 2)   ok       ( 6 <=31): Italic
DEBUG: =====> Fullname (ID 4)    ok       (45 <=63): ZedMono Nerd Font Extended ExtraBold   Italic
DEBUG: =====> PSN (ID 6)         ok       (33 <=63): ZedMonoNF-ExtendedExtraBoldItalic
DEBUG: =====> PrefFamily (ID 16) ok       (17 <=31): ZedMono Nerd Font
DEBUG: =====> PrefStyles (ID 17) ok       (27 <=31): Extended ExtraBold   Italic
DEBUG: =====> PrefStyles (ID 17) ok       (27 <=31): Extended ExtraBold   Italic
DEBUG: =====> Filename 'ZedMonoNerdFont-ExtendedExtraBoldItalic.ttf'

(Note trailing blanks even in ID 1.)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-02 15:51:52 +02:00
Fini Jastrow
ef76127599 doc: Improve readme
- Sort other font list to avoid the feeling that one is more suggested
  than the other
- Later releases have no release branch but release tags, include that
  in the example how to reference files

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-02 13:05:34 +02:00
allcontributors[bot]
2221fdc338
docs: add Kirito139 as a contributor for doc (#1581)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-02 08:13:49 +02:00
Lennier Mulder
c98469befd Added another good font to patch (SF Mono) 2024-04-02 08:12:56 +02:00
cabrinha
cb6c1c6c64 Add font Zed Mono
This squashes also these commits:

* ds-store
* ZedMono: Clean up files
  Remove files that should not be in the PR, because they are autocreated
  or belong somewhere else.
* Also divide Extended and non-Extended versions.
* ZedMono: Fix metadata
* ZedMono: Fix some metadata
* ZedMono: Drop some more exotic weights and restructure dirs

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:32:26 +01:00
Finii
17426690dd [ci] Update FontPatcher.zip 2024-03-30 23:28:47 +00:00
Fini Jastrow
4af1693cb6 Add Recursive Mono
'for Code' variants.

Rename RecMonoSemicausal to RecMonoSemi to avoid too long font names
after we add 'Nerd Font Mono' )or even (NFM) to it.

Fixes: #845

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:26:34 +01:00
Finii
f959cba709 [ci] Update FontPatcher.zip 2024-03-30 23:24:56 +00:00
Fini Jastrow
cff8195577 Iosevka/IosevkaTerm: Prepare patched fonts dir
[why]
When we drop the subdirectories we probably need to clean
up the patched-fonts directory first, or the old font will
not be overwritten.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:22:36 +01:00
Youri Wijnands
584c397e5c Update all Iosevka variants to version 29.0.4
Sqashed these commits:

* Remove Thin, Extra-Light, Semi-Bold and Heavy variants of IosevkaTermSlab
* Remove Thin, Extra-Light, Semi-Bold and Heavy files after unpacking
* No more subfolders per weight
* Revert commiting patched fonts
* Rewrite update scripts
* Update readme.md
2024-03-31 00:22:36 +01:00
Fini Jastrow
9136231ad2 Update Victor Mono to 1.5.6
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:20:43 +01:00
Fini Jastrow
d1c7397a30 Update Lilex to 2.400
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:20:43 +01:00
Fini Jastrow
298f3a13e7 Update InconsolataLGC to 1.5.2
Also remove patched-fonts/InconsolataLGC/ subdirectories.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:20:43 +01:00
Fini Jastrow
f31143c553 Update Geist Mono to 1.200
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:20:43 +01:00
Fini Jastrow
4a17ad2134 Update Commit Mono to 1.143
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:20:43 +01:00
Fini Jastrow
4b1db681db Update IBM Plex Mono to 2.004 (v6.4.0)
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:20:43 +01:00
Fini Jastrow
39a3a2a753 Update 0xProto to version 1.603
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:20:43 +01:00
Finii
545d4e0a42 [ci] Update FontPatcher.zip 2024-03-30 23:13:46 +00:00
Finii
47986a4368 [ci] Rebuild original-source font 2024-03-31 00:11:13 +01:00
Fini Jastrow
4b2f31fd47 Add ada icon
Fixes: #1513

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-31 00:11:13 +01:00
allcontributors[bot]
ab7e3b52cc
docs: add iruoy as a contributor for code (#1574)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-30 17:32:23 +01:00
Finii
82db67a18e [ci] Update FontPatcher.zip 2024-03-30 12:29:59 +00:00
Fini
f81f17af0d
Merge pull request #1558 from landfillbaby/master
update Intel One Mono to 1.3.0
2024-03-30 13:28:01 +01:00
allcontributors[bot]
3cbae58c04
docs: add Slabity as a contributor for bug (#1573)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-30 10:17:38 +01:00
allcontributors[bot]
7a49ff35df
docs: add herself as a contributor for code (#1572)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-30 10:15:59 +01:00
Fini Jastrow
23a14f1847 Update Terminus to 4.49.3
[why]
The outlines in Terminus 4.49.2 are rather weird. Autoconverted but not
too nice.

[how]
Update to 4.49.3 as tis has much better outlines.

Fixes: #1329

Suggested-by: Wiesław Herr @herself
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-30 10:09:40 +01:00
allcontributors[bot]
3fdb25db1b
docs: add kierun as a contributor for bug (#1569)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-29 15:32:22 +01:00
Finii
b5430e0640 [ci] Update FontPatcher.zip 2024-03-29 14:03:18 +00:00
Fini
c32041ca41
Merge pull request #1490 from ryanoasis/feature/inverted-pl-arrowheads
Add inverse powerline arrow heads
2024-03-29 14:54:27 +01:00
Fini Jastrow
5d463f0940 tests: Add new glyphs to vertical lines test
and improve the script code in general

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-29 14:43:37 +01:00
allcontributors[bot]
8bb2704316
docs: add trashner as a contributor for review (#1568)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Fini <ulf.fini.jastrow@desy.de>
2024-03-29 14:29:04 +01:00
allcontributors[bot]
ab181f6bfc
docs: add a-usr as a contributor for review, and ideas (#1567)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-29 14:21:38 +01:00
Fini Jastrow
7543e4a3a8 Add inverse powerline arrow heads
Fixes: #1451

See also (merged but not released):
eb6b9721a8

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-29 14:10:31 +01:00
Finii
6fe3ddca1c [ci] Update FontPatcher.zip 2024-03-29 12:47:10 +00:00
Fini
d311593fa1
Merge pull request #1564 from ryanoasis/feature/prevent-beanpole-icons
font-patcher: Prevent excessively tall icons in mono fonts
2024-03-29 13:43:54 +01:00
Fini Jastrow
758307300b tests: Fix shellcheck issue
SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".

Which is hard(er) because the sequences are not interpreted unless they
are in the format string.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-29 13:35:57 +01:00
Fini Jastrow
5a958b3e96 font-patcher: Prevent excessively tall icons in mono fonts
[why]
Very slender and tall icons will be scaled huge compared to their fatter
neighbors. This happens for example to the chess pieces (E25F ff) or
text style icons like italic (EB0D).

[how]
When a monospaced font is created use a slightly less tall cell height
for all icons (except icons that have to match the actual line height).

This can be prevented by the new scale control character `^` that
symbolizes maximized vertical size (height) within the real cell.

The smaller cell (now called icon cell) is less tall than the line
height, but higher than the cap height of the font; to prevent people
complaining that the icons shrunk too much.
It is about 1/3 higher than the cap height compared to the line height.

This is NOT applied to the other Nerd Fonts fonts variants (i.e. Regular
and Propo) because all icons are generally a bit bigger than the cap
height (no scaling down to fit into one advance width) and as the
scaling is far less pronounced the slender-and-tall icons scale
comparably and do not look out off place there.

Suggested-by: Aaron Bell @aaronbell
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-29 13:28:05 +01:00