Commit graph

420 commits

Author SHA1 Message Date
Fini Jastrow
72c335de1a Update M PLUS
They renamed
    M Plus Code Latin          -> M Plus Code Latin50
    M Plus Code Latin Expanded -> M Plus Code Latin60

The versioning is rather divers, add more information into the font
specific README file.

Fixes: #1333

Reported-by: LeoniePhiline
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 15:44:36 +01:00
Finii
d9189098de [ci] Rebuild original-source font 2023-11-11 14:40:10 +00:00
Fini Jastrow
68283f0ac0 fennel: Fix svg stroke/path
[why]
Fonts can only work with paths. The svg has strokes and objects that
render incorrect.

[how]
Convert everything to path than combine all paths.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-11 15:36:45 +01:00
Grazfather
9a34c22d05 Add glyph for fennel 2023-11-11 15:36:45 +01:00
Fini Jastrow
8563b0cdff Monaspace: Fix updater script
[why]
Shellcheck complains that quotes are missing.
We know that there will not be any problem ever as the elements are hard
coded, but fix to be warning free.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-10 20:51:55 +01:00
Fini Jastrow
05c751441d Monaspace: Drop many weights and adapt paths
SemiWide and ExtraWide might be nice in some contexts, but that is not
really the audience of Nerd Fonts I guess.

Lets start with few and we can always add more if there is really a
demand.

Simplify the paths; the old style stems from the time when we patched
all variants per source font. Nowerdays the fonts are few (3 per source)
and will almost always be installed together anyhow.

Shorten the naming a bit for, for example
ERROR: ====-< Family (ID 1)      too long (37 > 31): MonaspaceXenon Nerd Font Propo Medium

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-10 20:46:02 +01:00
Julien Blanchon
2ea1894712 Remove .DS_Store 2023-11-10 10:55:51 +01:00
Julien Blanchon
4ed7ec9ab1 Add Gihtub Monaspace 2023-11-10 10:35:24 +01:00
Fini Jastrow
e87b3488d2 Noto: Fix (remove) fi ligature
[why]
Noto Sans-Mono still has a one-advance wide 'fi' ligature.

This should have been fixed by commit
  d9f7dbe23  Prepatched fonts: Revive some ligature removal

but obviously has been overlooked.

[how]
Add its fi-lig subtable to the remove list for all Noto fonts.

Fixes: #1400

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-11-06 12:36:15 +01:00
Finii
e2f0e9334f [ci] Rebuild original-source font 2023-10-27 17:28:53 +00:00
Fini Jastrow
27f6ea142d neovim: Improve icon
[why]
The left leg is far too thin.
The gaps between the left legs are rather small.
That makes noticing the details hard, but that are decisive elements.

[how]
Manually edit in Inkscape...

Reported-by: berlinx2104
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-27 19:21:17 +02:00
Finii
798d4ad3db [ci] Rebuild original-source font 2023-10-23 11:45:51 +00:00
Fini Jastrow
5a7ab777d6 Fixup: neovim: Improve filename
[why]
If the svg file is renamed the icon list has to be updated :rolleyes:

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-23 13:38:10 +02:00
Fini Jastrow
3d860fbb83 Revert: "run generate-original-source.py"
[why]
We want the workflow to do this so that we have control over the
fontforge version that is used.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-23 13:34:06 +02:00
Fini Jastrow
7bceb83919 doc: Improve contributing manual
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-23 13:17:56 +02:00
Fini Jastrow
43eb9a1260 neovim: Improve filename
[why]
To avoid filename clashes between Seti and Custom we have all Custom
files with a _nf suffix. This has not been documented.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-10-23 13:15:57 +02:00
George Guimarães
bc374ce62b Add Neovim icon and run generate-original-source.py 2023-10-20 15:09:08 -03:00
Fini Jastrow
f29c62ab17 standardize-and-complete-readmes: Allow to link releases
[why]
Some fonts will not be released to the repo; but only exist patched as
release atrifacts. This needs adapted readmes.

[how]
If such a font is encountered direct links to the release archives are
put into the readme file.

Decide based on information in the font.json file.

If no info is found in the json file (i.e. all existing fonts) it
defaults to release-also-to-repo behavior.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-07-26 15:02:27 +02:00
Fini Jastrow
74d6475c19 IntelOne: Change naming mode
[why]
-makegroups 0 is not a valid naming mode for releases. The mode is
deprecated and will be removed. Furthermore the mode can produce broken
patched fonts.

[how]
Mode 1 and 2 are too long for some NFP in the family name, so use mode 4.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-07-26 15:02:27 +02:00
Fini Jastrow
83dd4908d4 IntelOne: Unify README
[why]
We do not (try to) copy the upstream webpage, but instead link it.

Also add version information (well, there is no difference between
1.2.0 and 1.2.1, but 1.2.1 is the latest right now).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-07-26 15:02:27 +02:00
Dennis Prazak
5d85a45a93 Add Intel One Mono 2023-07-26 15:02:27 +02:00
Fini Jastrow
9512cddd4f Add font: Envy Code R
The font has RFN, but we are allowed to use the patched name
"Envy Code R Nerd Font", see PR #1318.

Thanks go to Damien Guard!

Fixes: #1205

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-07-15 15:17:39 +02:00
Finii
5ae07aba04 [ci] Rebuild original-source font 2023-07-15 12:02:37 +02:00
Fini Jastrow
17e6b6bc21 Custom: Update Windows logo to 11
[why]
The new logo is in effect for some time now.

Fixes: #1266

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-07-15 12:02:37 +02:00
Fini Jastrow
28f5657782 archive-fonts: Unify README handling
[why]
The readmes in the zip and tar.xz archives differ. The zips have only a
very small and generic `readme.md`. The tar.xz have that readme as well as
the `README.md` from the patched-fonts/ directory. This should be the same
for both.

To have two files with names that just differ in case (`readme.md` and
`README.md`) can be problematic on some platforms.

[how]
Combine both readmes into one file - put the generic info in the top of
the readme.

Also include the RELEASE_VERSION if known into the readme. That makes it
more easy to identify which Nerd Font release that archive came from.

RELEASE_VERSION is set in the release workflow.

Fixes: #1284

Reported-by: Jan Klass <kissaki@posteo.de>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-07-15 12:00:52 +02:00
Finii
0e77d86ff9 [ci] Rebuild original-source font 2023-06-02 19:20:50 +00:00
Fini Jastrow
29c0d3f4e5 Seti: Correct gradle icon issues
[why]
The eye is closed in fonts.

[how]
Open in inkscape, reverse path.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 19:06:04 +02:00
Fini Jastrow
6f48d00b12 copyall: Fix various ShellCheck issues
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-06-02 16:58:03 +02:00
Fini Jastrow
d812d153ab Start release v3.0.1
Edit ./package.json
Run version-bump.sh 3.0.1

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-13 07:49:58 +02:00
Fini Jastrow
b3ec51c1b0 CascadiaCode: Correct version string
[why]
With commit
  b6301e590  CascadiaCode: Rehint and use ttf

we replaced the hints done upstream by ttfautohint with hints done via
Visual TrueType, because they render the text more similar to the
variable fonts (hints).

But the version string still mentions 'ttfautohint' because we did not
touch the font files at all except opening, hinting, closing in VTT.
This can be confusing.

[how]
Change the version string to "Version 2111.001; VTT 6.35" via:

* `ttx -i *.ttf`
* Edit `ttx` files and replace version, see above
* `ttx -b *.ttx`
* Move new fonts over old fonts

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-12 17:23:50 +02:00
Finii
8fd192e77c [ci] Rebuild original-source font 2023-05-11 18:04:07 +02:00
Fini Jastrow
84d633de8f original-source: Cleanup four svgs
[why]
The CI process produces a different font than running the
generate-original-source script locally.

Several thing have been checked, to no avail, see #1227.

Turned out the affected SVGs all are somehow ... questionable in their
construction.

[how]
Open SVGs in inkscape, select all (points) and generate new, clean
outline with Path->Union.
Save as optimized SVG.

The (CI) created font file now looks good.

But the cause is still unknown, maybe some sub-library that is used has
changed? I have no clue. Meaning it runs ok locally seems to be no
guarantee it will look the same when run by the CI :-(

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-11 18:04:07 +02:00
Fini Jastrow
1d770c8ae0 Add old octicons folder icon to custom set
[why]
Specifically for https://github.com/NvChad/NvChad

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-11 18:04:07 +02:00
Fini Jastrow
a153334440 Ubuntu: Fix wrong Condensed classification
[why]
The Ubuntu Condensed font is special because it is designed to be not
part of the `Ubuntu` font family but a self standing `Ubuntu Condensed`
family with just one member.

We want the `Ubuntu Condensed` to be part of `Ubuntu`, as it is usual
for fonts with different widths.

The problem then arises that the width class in the font metadata is set
to 'Normal', while it has to be 'Condensed'. That fact does not become
apparent when the font is in its own one member family, but even there
it is wrong.

[how]
To keep all the other information in the font untouched we just directly
patch that one byte where the width-class is stored - and repair the
checksums afterwards. Nothing more.

The code to do this is the Font Tweaker code in font-patcher, just
copied here for one time use.

Fixes: #1228

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-11 15:57:43 +02:00
Fini Jastrow
9f54f24738 Octicons: Create missing file-symlink-directory (2/2)
Just run ./generate.

Compare commit
  7764e05  Create new octicons.ttf (update to v18.3.0) (2/2)

Fixes: 1213

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-10 12:49:17 +02:00
Fini Jastrow
1820d4e341 Octicons: Create missing file-symlink-directory (1/2)
[why]
Some people, for example the `lsd` project, need an icon with a symlink
directory. That has been dropped by Octicons. Our repacking put some
unrelated bookmark icon on that codepoint; but even an empty glyph would
be not ideal.

[how]
Design a file-symlink-directory from file-symlink-file and
file-directory. In this way it fits nicely into the current design of
Octicons.

Sneak that into the unpacked Octicons archive.
Adapt mapping manually to keep as much as possible constant.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-10 12:49:14 +02:00
Fini Jastrow
09c83150ae Add Iosevka Term Slab
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-07 12:41:24 +02:00
Fini Jastrow
d9f7dbe238 Prepatched fonts: Revive some ligature removal
[why]
Some sourcefonts, even that are monospaced, have a `fi` and/or `fl`
ligature that maps into one cell. That looks very strange.

[how]
Partially revert commit
  148b0c445  Sunset ligature removal

for the cases that have a one-cell `fi`, `fl`, etc ligature, or a `ldot`
related ligature - that is active by default. Discretionary ligatures or
Stylistic Sets are not changed.

Do the removal on all patched fonts for consistency, not just `Nerd Font Mono`.

[note]
On Noto different subtables are needed for Sans, Serif and Sans-Mono. We
can not set up different configs for each, so all are tried in all fonts
and might fail (this is normal).
Same holds for OpenDyslexic Alta, Regular, Mono, Bold...

Fixes: #1187

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-05-02 17:23:11 +02:00
Fini Jastrow
ed4b2124bb MPlus: Add missing license [skip ci]
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-30 20:29:53 +02:00
Fini Jastrow
aea8debe46 ComicShannsMono: Fix line metrics
[why]
WIN line metrics is so obviously wrong ...

[how]
Make WIN the same as TYPO.

Afterwards the baseline to baseline distance is 1200 for all 3 systems.

The fonts are generated from the *.otf_orig via make_bold script.

This was originally PR #1004

[note]
Report from font-line:

1.3.0
SHA1: 4e397869269f6a0cf2b57a874e19fe5943ef7c44

::::::::::::::::::::::::::::::::::::::::::::::::::
  Metrics
::::::::::::::::::::::::::::::::::::::::::::::::::
[head] Units per Em:   1000
[head] yMax:           1170
[head] yMin:          -596
[OS/2] CapHeight:      650
[OS/2] xHeight:        450
[OS/2] TypoAscender:   750
[OS/2] TypoDescender: -250
[OS/2] WinAscent:      1167
[OS/2] WinDescent:     564
[hhea] Ascent:         750
[hhea] Descent:       -250

[hhea] LineGap:        200
[OS/2] TypoLineGap:    200

::::::::::::::::::::::::::::::::::::::::::::::::::
  Ascent to Descent Calculations
::::::::::::::::::::::::::::::::::::::::::::::::::
[hhea] Ascent to Descent:              1000
[OS/2] TypoAscender to TypoDescender:  1000
[OS/2] WinAscent to WinDescent:        1731

::::::::::::::::::::::::::::::::::::::::::::::::::
  Delta Values
::::::::::::::::::::::::::::::::::::::::::::::::::
[hhea] Ascent to [OS/2] TypoAscender:       0
[hhea] Descent to [OS/2] TypoDescender:     0
[OS/2] WinAscent to [OS/2] TypoAscender:    417
[OS/2] WinDescent to [OS/2] TypoDescender:  314

::::::::::::::::::::::::::::::::::::::::::::::::::
  Baseline to Baseline Distances
::::::::::::::::::::::::::::::::::::::::::::::::::
hhea metrics: 1200
typo metrics: 1200
win metrics:  1731

[OS/2] fsSelection USE_TYPO_METRICS bit set: False

::::::::::::::::::::::::::::::::::::::::::::::::::
  Ratios
::::::::::::::::::::::::::::::::::::::::::::::::::
hhea metrics / UPM:  1.2
typo metrics / UPM:  1.2
win metrics  / UPM:  1.73

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-30 15:41:59 +02:00
Fini Jastrow
a63cb3b329 Switch from ComicMono to ComicShannsMono
[why]
The Bold font is bad?
The repo is not maintained?

[how]
The ComicShannsMono is not monospaced ... fix it.
It has Overlapping contours ... fix it.

Create a useful BOLD face.

This was originally PR #1004

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-30 15:41:59 +02:00
Fini Jastrow
40cf00c58a ComicMono: Add some more metadata
This was originally PR #1004

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-30 12:16:25 +02:00
Paul Frische
44f69fdd55 add ComicMono font and partialy edit readme
This was originally PR #1004
2023-04-30 12:16:25 +02:00
Fini Jastrow
ee5c2cfeac Drop Symbols 1000 em font
[why]
There is really no reason to have two identical fonts that just have a
different EM.

The family name changed to the previous release from
"Symbols Nerd Font" to "Symbols2048Em Nerd Font"

[why]
As this is a ttf font we choose to keep 2048, and drop the 1000.
When we drop the number the family name is also correct again.
The family name is used by the fontconfig that people probably have
installed, so we should not change that familyname.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-28 18:30:06 +02:00
Fini Jastrow
1d15431653 iA-Writer: Remove blanks in pathnames
[why]
Of course it is nice to have blanks in the pathnames, because that means
the filename handling has to be very correct everywhere, quoting the
names and so on.
But it is also a nuisance. And it does not look too good on the command
line.

[how]
Like Meslo, JetBrains Mono, Noto, and Overpass we do not repeat the base
font name in the directory name. (Counterexample MPlus...)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-28 18:30:06 +02:00
Fini Jastrow
36f8d762a6 Drop "complete/" subdirs
[why]
Since we do not have any other variations anymore it does not make sense
to keep that directory. The renaming with 3.0.0 is a good point in time
to drop it as the filename scheme changes anyhow.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-28 18:30:05 +02:00
Fini
7ebb44349e
Merge pull request #1179 from ryanoasis/feature/rehint-cascadiacode
CascadiaCode: Rehint and use ttf
2023-04-27 15:25:40 +02:00
Fini Jastrow
d4f49c7e2c Update Iosevka to 22.1.0
ttf-iosevka-22.1.0.zip
ttf-iosevka-term-22.1.0.zip

[how]
Download relevant archives and put both into ~/Downloads/iosevka
Run copyall.sh on both dirs.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-27 14:16:24 +02:00
Fini Jastrow
b6301e590d CascadiaCode: Rehint and use ttf
[why]
A lot people (read: People on Windows) have the variable font (VF) version of
Cascadia Code installed - it comes bundled with Windows Terminal.

The static Cascadia Code instances that we use for patching are hinted
with ttfautohint which creates small sized glyphs that are visibly very
different. People compare the static Caskaydia Cove with the VF Cascadia
Code and are surprised.

[how]
First switch from the CFF outlines to TTF outlines - that is the
original version (i.e. otf -> ttf). It is unknown why we created patched
CFF fonts instead of the TTFs. To get as close as possible to the
intended look of the glyphs we should stick with the outline type.

Then we need to re-hint all the fonts, to get hints that are comparable
to the VF hints. We can not use the hints of the VF because the outlines
are different: The VF has (of course) overlapping outlines, while the
static ones (as usual) have not.

The re-hinting can be done with VTT or TTH - both showed results that
are more like the original VF font. The usual ttfautohint has been used
of the static fonts in the font release and can not be used. It is the
reason for this whole problem.

* Used VTT 6.35
* Open font file in VTT
* Import all programs
* Generate 'VTT talk' via Tools -> AutoHint -> LightLatinAutoHint
* Save font file as ...

References:
https://github.com/microsoft/cascadia-code/issues/371
https://learn.microsoft.com/en-us/typography/tools/vtt/

Closes: #998

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-27 11:41:37 +02:00
Fini Jastrow
96cd985b58 Drop counting variations stuff and unify readme creation
[why]
The variation lists are very long and noone will ever look at them.
Instead we have a font-info.md file, for what reasons?

[how]
Replace the function the font-info.md file had with README.md.

Drop all the variation lists.

Automatically call the readme creation in the gotta-patch-em instead of
just hinting that one should call that (standardize-and-complete-readmes.sh).
2023-04-27 10:30:48 +02:00
Fini Jastrow
0d27d3cf52 Correct readme template
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-27 10:22:29 +02:00
Fini Jastrow
c9ba9f88df Unify all source READMEs
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-27 10:22:29 +02:00
Fini Jastrow
977c680d71 Remove spurious .gitignore file
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-27 10:22:29 +02:00
Fini Jastrow
850b8b422f standardize: Use fonts.json as RFN info source
[why]
When creating the readmes the config.cfg are checked for details on a
possible RFN renaming. There are specific variables that need to be
filled in these cases: config_rfn and config_rfn_substitue.

The same RFN information is already stored in the fonts.json database.
Having the information stored in two locations is always problematic and
can easily lead to inconsistencies.

[how]
Remove information from config.cfg file and use data stored in
fonts.json instead.

Drop config.cfg files that are empty afterwards.

Also fix some patchedName in fonts.json en passant.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-25 17:03:05 +02:00
Fini Jastrow
f56f97d4e1 Remove Hack postprocessing
[why]
The special Hack postprocessing does this:
 * Add a dummy signature
 * Set fsType to zero
 * run ttfautohint on the font

There once has been reason to do this (probably), but on currently
supported fontforges this is not needed anymore.

 * Fonts run fine without the signature
 * fsType is anyhow zero, set by fontforge
 * the preexisting hinting is kept by fontforge
   (furthermore: We do not want hints for the symbols usually)

Double-checked source and patched font with ttx, instructions (hints)
are definitively existing and equal in the patched font.

So we do not need any of this special postprocessing anymore.

See also commit
  e9d84b6c0  Adds WIP scripts and logic for post processing patched fonts (WIP for fixing #70)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-25 09:39:03 +02:00
Fini
5922a6bab9
Merge pull request #1177 from ryanoasis/feature/remove-unused-fonts
Remove unused fonts
2023-04-24 21:43:07 +02:00
Fini Jastrow
7764e05764 Create new octicons.ttf (update to v18.3.0) (2/2)
This commit does the actual update of the octicons.ttf font file.
The script to update is 'generate'. It uses the mapping file from the
previous commit to create a new compatible font.

Some icons have meanwhile been dropped. We use their codepoints for new
icons.

Also fix a little bug in the GlyphInfo writer.

Following the output of the actual script run.

$ ./generate                                                                                                                                                                                                                                        feature/update-octicons ● 1 … 5 ⚑ 5 

Reading mapping file
Found 172 entries
Fetching octicons archive "v18.3.0.tar.gz"

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  550k    0  550k    0     0   504k      0 --:--:--  0:00:01 --:--:--  919k

Unpacking octicons archive
Found 576 svgs
Found 309 icons after de-duplicating

Renamed cloud-download -> download
Renamed cloud-upload -> upload
Renamed clippy -> paste
Renamed mail-read -> read
Renamed primitive-dot -> dot-fill
Renamed primitive-square -> square-fill
Renamed settings -> sliders
Renamed dashboard -> meter
Renamed trashcan -> trash
Renamed paintcan -> paintbrush

Missing octoface
Missing keyboard
Missing gist
Missing file-text
Missing file-pdf
Missing jersey
Missing radio-tower
Missing repo-force-push
Missing mail-reply
Missing arrow-small-right
Missing gist-secret
Missing no-newline
Missing arrow-small-up
Missing arrow-small-down
Missing arrow-small-left
Missing file-symlink-directory
Missing circuit-board
Missing watch
Missing text-size
Missing ellipses
Missing plus-small

Found 151 (of 172, missing 21) and new 158
Filled in missing, remaining new 137
Appended remaining new, total new mapping 309
Generating octicons.ttf with 309 glyphs
Generating GlyphInfo i_oct.sh
Finished

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-24 21:32:13 +02:00
Fini Jastrow
91953e2de7 Create new octicons.ttf (1/2)
[why]
The octicons got a lot updates.
But they do not have a font anymore.

[how]
Keep our old codepoints constant, but add the new icons thereafter.

This commit just moves all the mechanics in and moves the (old) font.
No actual update here.

The mapping file has been created with the analyze_octicons script.

Fixes: #490

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-24 21:32:13 +02:00
Fini Jastrow
49aeae0df1 Remove ProFont pcf
[why]
We do not patch or release them in any way.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-24 20:00:41 +02:00
Fini Jastrow
4dc639175e Remove otf version of Inconsolata
[why]
We need only one version, and having both in the release package will
lead people to install both ... which is not good.
And there is not really a reason to have the otf version.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-24 20:00:41 +02:00
Fini Jastrow
4c41c82c75 Remove otf version of IBM3270
[why]
We need only one version, and having both in the release package will
lead people to install both ... which is not good.
And there is not really a reason to have the otf version.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-24 20:00:41 +02:00
Fini Jastrow
0ee3d49632 BigBlueTerminal lowercase ttf extension
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-24 20:00:41 +02:00
Fini Jastrow
70f6c9b7f9 Remove InconsolataGo sfd files
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-24 20:00:41 +02:00
Fini Jastrow
a96006a681 font-patcher: Add option to allow italic-less fonts with oblique
[why]
Because we do not know if a complete family of fonts has an italic face
we must always assume it does. To get clean RIBBI families in ID1/2 we
create a different family for the oblique slant.
But that is not needed if the font does not have an italic slant, but
just an oblique one (like Bitstream Vera and descendants).

[how]
Add new command line option for font-patcher that specifies if the
family of fonts should be patched under the assumption that there might
be an italic face (default), or if we are sure there is none (and we can
leave oblique in the RIBBI group).

This is then applied to the config.cfg files.

Note that this does not take into account any other of the known_slants.
But they are not encountered in any of our prepatched fonts.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-24 19:52:27 +02:00
Fini
20e7a8e390
Merge pull request #1028 from ryanoasis/feature/reorganize-naming
Pull 'Mono' to front in names and other naming changes
2023-04-24 18:42:33 +02:00
Fini Jastrow
4921e59554 Drop iA Writer Duospace
[why]
We have both
 iA Writer Duospace
 iA Writer Duo S

These are the same fonts, Duospace is just the former name of Duo S.

Duospace is version 1.005
Duo S (and Mono and Quattro) is version 2.000

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-21 19:55:57 +02:00
Fini Jastrow
17c835c630 Select specific shortening mode for some fonts
[why]
Most fonts can run with the full naming (--makegroups 1).

But for some (especially with full fledged subfamilies) the names become
too long. Here we need to select more shortening.

[how]
This can be either done/stored in the font-patcher script, but if you
need shortening (and which) still depends on what set of fonts you want
to patch.
So instead we make it a config.cfg option of the unpatched-fonts.

[note]
Findings:

3270                   2
Agave                  1
AnonymousPro           1
Arimo                  1
Aurulent               1
BigBlueTerminal        1
BitstreamVera          too long, and has RFM
CascadiaCove           4
CodeNewRoman           1
Cousine                1
DaddyTimeMono          1
DejaVuSansMono         1
DroidSansMono          1
FantasqueSansMono      1
FiraCode               2
FiraMono               1
Gohu                   1
Go-Mono                1
Hack                   1
Hasklig                2
HeavyData              1
Hermit                 1
iA-Writer              PROBLEM Quattro / Duospace
IBMPlexMono            1
Inconsolata            1
InconsolataGo          1
InconsolataLGC         1
Iosevka                4 (would also work with 3, but keep same with Term)
IosevkaTerm            4
JetBrainsMono          4
Lekton                 1
LiberationMono         1
Lilex                  1
Meslo                  1
Monofur                1
Monoid                 1
Mononoki               1
MPlus                  2, latX -> 3
NerdFontsSymbolsOnly   1
Noto                   5, but!! "ExtraCondensed ExtraLight Italic"
OpenDyslexic           1
Overpass               2
ProFont                1
ProggyClean            1
RobotoMono             3
ShareTechMono          1
SourceCodePro          4
SpaceMono              1
Terminus               1
Tinos                  1
Ubuntu                 2
UbuntuMono             2
VictorMono             4

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-21 19:55:57 +02:00
Fini Jastrow
190732b5fd Anonymous Pro: Add missing renaming info
This is used by standardize-and-complete-readmes.sh

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-21 18:38:47 +02:00
Fini Jastrow
fd7773c092 Update Anonymous Pro
[why]
We use a prepatched font not the original Anonymous Pro.
The prepatched font contains no bitmaps and is thus like
Anonymous Pro Minus. Also some font internals that fontforge does not
copy out of the box are differing.

And we miss the Bold and Italic variants.

[how]
Crossgrade to original Anonymous Pro as source and add the missing
weight/style.

Add Anonymous to SIL.
Handle 'Pro' naming parts (do not detect 'r' as short for 'Regular').

[note]
Maybe related: #1174

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-21 13:07:50 +02:00
Fini Jastrow
807da1dcdf gotta-patch-em: Enable new naming for all fonts
[why]
The old naming is the reason for a lot problems. It creates a lot of
duplicate names and breaks bigger font families.

[how]
After introducing --makegroups we now enable it for all fonts.
Remove special cases from config.cfg files.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-15 20:57:08 +02:00
Fini Jastrow
a8e7751d47 Disentangle Iosevka and Iosevka Term
[why]
Both are full fledged families, one specifically for terminal, the other
not. Although it might be that people want both there is a likelyhood
that some just need one set.

Splitting these makes the individual release packages smaller and more
handable, and improves release workflow run time.

[note]
Also fix RFN of mononoki en passant :-}
See comment on mononoki's RFN with the mononoki 1.6 update commit.

See also #803

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-04-05 16:04:36 +02:00
Fini Jastrow
dfd186c2a4 Update Lilex to 2.000
Fixes: #1157

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-30 19:38:49 +02:00
Fini Jastrow
8a63cf62e2 Update Victor Mono to 1.5.4
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 19:29:34 +01:00
Fini Jastrow
d1b193de54 Update Terminus to 4.49.2
Also drop all the bitmap fonts that we have in src/unpatched-fonts/ but
we do not do anything with them.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 19:14:53 +01:00
Fini Jastrow
dda72eb4c4 Update Source Code Pro to 2.038
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 18:53:55 +01:00
Fini Jastrow
8b92cbaf56 Update Roboto Mono to 3.0
Not adding the 'ExtraLight' weight.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 18:53:25 +01:00
Fini Jastrow
1a242e9540 Update Overpass to 3.0.5
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 18:26:05 +01:00
Fini Jastrow
1868c68c8b Update MPlus to ... current
They started with new version numbering and have different version on
each subset.

The complete naming set changed. See their website to find the font you
used before.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 17:05:54 +01:00
Fini Jastrow
a9270a8437 Update mononoki to 1.6
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 16:19:12 +01:00
Fini Jastrow
21aafd5620 Update Lilex to 1.100
Light has been dropped upstream.
We drop the otf variants, original design is a ttf.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 15:26:37 +01:00
Fini Jastrow
160f045d02 Update Literation to 2.1.5
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 14:58:06 +01:00
Fini Jastrow
b5f41db164 Update Iosevka to 21.1.1
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 14:47:01 +01:00
Fini Jastrow
136b855971 Update Hermit to 2.0
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 14:47:00 +01:00
Fini Jastrow
1142815f23 Update Go Mono to 2.010
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 14:47:00 +01:00
Fini Jastrow
4f6fcfe69a Update Fira Mono to 3.206
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 14:46:59 +01:00
Fini Jastrow
adb3a8587a Update DaddyTimeMono to 1.2.3
Add config.cfg to keep ttf instead of following the upstream switch to otf.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 12:33:36 +01:00
Fini Jastrow
0d272cd39b Update IBM Plex to 2.3
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 12:14:59 +01:00
Fini Jastrow
c1b67d444e Update Arimo to 1.33
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 11:55:26 +01:00
Fini Jastrow
d5bb490d05 Update: Agave to v37
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-21 11:31:27 +01:00
Fini Jastrow
ac3cb23929 font-patcher: Add glyph at unicode 2630
[why]
The unicode 2630 (Trigraph Heaven) is often used in vim powerlines (at
least).

[how]
Draw nice 3 rectangles.
Insert 'pa1', always scaling also in non mono fonts. That needs a new
attribute: '!'.

The scaling is in fact an issue. Using 'pa' is the way of least
resistance.
Without the new attribute the glyph would look different in mono and
nonmono, which is not nice.

Fixes: #589

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-10 12:32:05 +01:00
Fini Jastrow
ff57585e51 font-patcher: Add box drawing glyphs
Fixes: #1108

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-10 12:32:05 +01:00
Fini Jastrow
8d315f467c Fix access rights
[why]
For some unknown reason some files have the execute right bit set in
git. That is neither needed nor recommended.

The *.cfg files are pulled in with `source`, so they do not need to be
executable.

[note]
Example command to check
    find . -perm /111 -type f

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-03-08 08:39:15 +01:00
Fini Jastrow
59c5cb5a1f font-patcher: Patch in heavy angle brackets
[why]
The heavy angle brackets (276E and 276F) are used for a lot of prompts,
but we do not yet patch them in and a lot of fonts do not bring them
themselves.

[how]
One time rip the glyphs out from Hack and patch them in always, but
careful (do not replace existing glyph).
We take the whole set 276C - 2771.

[note]
Usually we should never again need to run the generate-extraglyphs
script, we rip them out now and they look good. Whatever Hack does with
new versions we can follow but that is optional.

Related: #1110

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-02-10 16:41:00 +01:00
Fini Jastrow
b1439b1e48 SourceCodePro: Remove obsolete font
[why]
In the course of #271 the source for SourceCodePro switched: Before we
used SourceCode Powerline [1], afterwards the original one [2].

One font file has been forgotten, as the font files were differently
named in both variants.

This caused issed with parallel build in the CI and font tweaking (which
is done as additional process after the actual patching).

[note]
[1] https://github.com/ryanmcilmoyl/sourceCodePro-Powerline
[2] https://github.com/adobe-fonts/source-code-pro/releases/tag/2.030R-ro%2F1.050R-it

Maybe, this is not entirely clear, and the 'Powerline' variant does not
have an Italic style.

Fixes: #1084

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-27 09:03:27 +01:00
Finii
d7ea8e5717 [ci] Rebuild original-source font 2023-01-26 19:16:21 +00:00
Fini Jastrow
4939ac596a Fix Symbols Only metrics
[why]
Fontforge fails to set our calculated values if the sfd contains strange
date.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-23 18:52:50 +01:00
Finii
e3051ccfa6 [ci] Rebuild original-source font 2023-01-17 17:05:27 +01:00
Fini Jastrow
b12afcb688 Add V language icon
[how]
Icon taken from https://github.com/vlang/v-logo
Edit in inkscape:
 - remove shadow
 - simulate shadow by cutting right side
 - change to black and white

Fixes: #630

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-17 17:05:27 +01:00
Fini Jastrow
1d8efb6f68 Fix Mononoki naming [skip ci]
[why]
We get very bad names using the old naming algo:

`mononoki BoldItalic Nerd Font Complete`

Also the typographic subfamily is useless (will not be set bu the old
algo)

[how]
Use `--makegroups` which results in correct fullname
`Mononoki Nerd Font Complete Bold Italic`

Related: #575

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-17 14:42:05 +01:00
Fini Jastrow
fec587385a Update mononoki to 1.5
Mononoki is now a RFN; but under conditions mentioned in [1]
we can use that name for the patched font.

[1] https://github.com/ryanoasis/nerd-fonts/issues/575#issuecomment-1385308049

Fixes: #575

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-17 13:28:27 +01:00
Fini Jastrow
c6b3b0841c Update JetBrains Mono to 2.304
Fixes: #1050

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-16 23:27:19 +01:00
Fini Jastrow
e601907caf Update Fira Code README
[why]
We had a copy of the original Fira Code website.
But all the comments and links are only partially relevant for the Nerd
Fonts patched version, e.g. how to install.

[how]
To reduce confusions do not copy the original readme, but link it.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-15 21:59:30 +01:00
Fini Jastrow
713f5ef386 Update Iosevka to 17.0.4
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-15 21:13:14 +01:00
Fini Jastrow
b98c2a1921 Fix JetBrains Mono Family names
[why]
The JetBrains Mono font has a lot of different families. A lot users install
just all "JetBrainsMono Nerd Font" families, and this can break in a lot
different ways.

[how]
Just turn the feature on in font-patcher (via patch-em-all's config).

Fixes: #542

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-15 17:39:43 +01:00
Fini Jastrow
52d328f55d Fix font-logos
[why]
The 'ferris' glyph in font logos is broken (has overlapping contours).

See

https://github.com/lukas-w/font-logos/issues/86
https://github.com/lukas-w/font-logos/pull/87

[how]
As upstream does not fix, do this here manually.

Fixes: #946

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-15 17:09:09 +01:00
Fini Jastrow
c39c97ba61 materialdesignicons: Fix glyph F1522
[why]
The glyph 0xF1522 is broken.

See:
https://github.com/ryanoasis/nerd-fonts/pull/773#issuecomment-1373990838
https://github.com/Templarian/MaterialDesign-Font/issues/9

[how]
Manually edit in fontforge and remove line. Export as simple ttf.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-15 16:10:33 +01:00
Fini Jastrow
69e8c0e033 Add current Material Design Icons
[why]
Material Design Icons has grown quite a bit.

[how]
Add the icons at their original position which is in PUA1.
Use the desktop font instead of the webfont.
Add cheat cheat file.

Fixes: #365

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-13 12:59:53 +01:00
Zach DeCook
5426881a76 materialdesignicons: Update to newer version (fix #279)
With appropriate codepoint (fix #365)
2023-01-13 12:59:53 +01:00
Finii
4c76918895 [ci] Rebuild original-source font 2023-01-13 10:47:20 +00:00
Finii
c6ee815472 [ci] Simplify original-source source glyphs 2023-01-13 10:47:16 +00:00
Fini Jastrow
db39c2549a Fix i_custom_asm codepoint
[why]
The new asm icon replaces the apple icon.
I believe this has been entered as offset by mistake.

[how]
Add new icon to bottom.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-13 09:49:52 +01:00
igna_martinoli
461b882a5e Improve Assembly icon
[what]
Adds consistance with other low level languages icons like C/C++.

Reverted the change on `asm.svg`, added `asm_nf.svg`, modified `icons.tsv`

[note]
Closes https://github.com/ryanoasis/nerd-fonts/issues/857.
Closes [990#pullrequestreview-1171459043](https://github.com/ryanoasis/nerd-fonts/pull/990#pullrequestreview-1171459043)

Signed-off-by: igna_martinoli <ignamartinoli@protonmail.com>

[Note by Fini: Squashed two commits.]

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-13 09:49:52 +01:00
Fini Jastrow
04571f54bf Clean up icons.tsv
[why]
The 'new' in the middle can be confusing. What is the meaning?
Also the offsets are easier to graps if they are all equally wide (i.e.
have leading padding zeros).

See https://github.com/ryanoasis/nerd-fonts/pull/990#discussion_r1016193488

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2023-01-13 09:49:52 +01:00
Fini Jastrow
914baa072f Fix Iosevka Family names
[why]
The Iosevka font has a lot of different families. A lot users install
just all "Iosevka Nerd Font" families, and this can break in a lot
different ways.

I will try to collect Issues possibly caused by this in PR #1019.

[how]
Just turn the feature on in font-patcher (via patch-em-all's config).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-12-21 15:44:42 +01:00
Fini Jastrow
2ace3de8ad archive-fonts: Fix missing licence files
[why]
We have 'license' is the archives, but the 'licence' files are missing.
We allow all-caps and all-lowercase, but not camelcase 'License'.
Sometimes we have OFL.txt which is missing.

[how]
Enable both spellings and also camelcase.
Enable OTF text files.

Also fix misunderstanding of regex vs glob ([] vs {}), where the glob
needs a comma and the regex does not.

Add missing LICENSE files for 2 fonts.

Fixes: #979

Reported-by: Jeremy Thorn <moralground>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-24 13:55:45 +02:00
Fini
c156c4d37d
Merge pull request #978 from ryanoasis/feature/update-seti
Update seti to current version
2022-10-21 14:43:06 +02:00
Finii
9422970663 [ci] Rebuild original-source font 2022-10-20 10:04:28 +00:00
Finii
9cce0fc964 [ci] Simplify original-source source glyphs 2022-10-20 10:04:26 +00:00
Fini Jastrow
7ffc6d976e Fix shell icon
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 12:00:05 +02:00
Fini Jastrow
1ba9a0313c Simplify paths in the svgs
$ ./optimize-original-source.sh doit

Checking for SVG simplifications
  Files might be MODIFIED by this run ('doit' specified)
Found 177 svgs in ../../src/svgs
Simplification for ocaml.svg (5249 -> 3604) 68%
Simplification for apple.svg (3228 -> 2302) 71%
Simplification for pug.svg (5507 -> 4243) 77%
Simplification for jenkins.svg (13014 -> 6406) 49%
Simplification for firefox.svg (6276 -> 4640) 73%
Found 5 svgs to simplify

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 11:36:18 +02:00
Fini Jastrow
912093fcfb Fix prolog icon
This still had a path direction mismatch.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 11:30:41 +02:00
Fini Jastrow
547e009d20 Remove gaps from icons.tsv
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 10:04:58 +02:00
Fini Jastrow
f2c365f469 Fix more complicated issues in svgs
[why]
Some of the svgs still render incorrect in fontforge.

[how]
Different issues, for example wrong direction of the sub-path and still
(forgotten?) multiple layers, etc. Manually tinker until they work.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 10:04:58 +02:00
Fini Jastrow
237d7640a6 Clean up svgs
Outline fonts are a bit picky about the embedded svgs.
Best is if there is only one path.

Ungrouped and path merged in Inkscape manually.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 10:04:58 +02:00
Fini Jastrow
1e75dfac76 Remove more doubles
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 10:04:58 +02:00
Fini Jastrow
974249b534 Actually use new Seti
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 10:04:58 +02:00
Fini Jastrow
2beed43447 Clean up icon doubles
Some icons are now existing twice.

* Their crystal icon looks wrong (rotationwise), compare with https://github.com/crystal-lang/crystal
* Their C logo misses the standard's hex shape
* Their C++ logo misses the standard's hex shape
* Their Elixir icons has a dent in the reflextion?
* Their Elm icon is colored
* Their Git Folder is not a folder
* Their Kotlin icon is colored
* Their Puppet icon is more correct
* Their Pursescript icon is identical
* Their Windows icon is more modern

That means:

* Do not include their crystal, elixir, elm, kotlin, purescript
* Do not include our puppet, windows
* Keeping both c, c++, git-folder

[note]
Keeping their old files around with changed suffix to find this commit
in the future on updates.

Reuse old icons that were labeled as 'seti' but have been vanished as
new custom types with appropriate file naming.

And remove 'red' versions of icons. We have a black and white font...

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 10:04:32 +02:00
Fini Jastrow
589b0dfd9d Mix all custom icons into seti
Add "_nf" suffix to our own svgs.
Add our icons database

Adapt filename in icons database
Just change the filenames of the custom icons to include the new "_nf"
suffix.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 10:02:52 +02:00
Fini Jastrow
148b0c4455 Sunset ligature removal
[why]
Keeping the ligature removal tables up to date with source font updates
is quite a maintenance burden.

Usually if a terminal supports ligatures at all it has an option to
disable them.

Present ligatures do not prevent monospaced fonts and monospaced
detection.

It was only present in v2.0.0, and the code has been broken with v2.1.0.

[note]
Updated example ligature removal table to the one for Iosevka.
Left stubs in relevant code passages to facilitate finding this commit.

Fixes: #976
Fixes: #975
Fixes: #973

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-20 08:44:55 +02:00
Fini Jastrow
4ada58a660 Add all current seti svgs
From master branch, commit
fd20793e5a

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-19 08:31:59 +02:00
Finii
f1094f1fad [ci] Rebuild original-source font 2022-10-13 14:43:09 +00:00
Fini Jastrow
f84b4a26e4 Symbols Only font: Remove gaps
[why]
We do not want fonts with gap. Gaps are explicitely removed on patching
anyhow. Why should the templates have gaps?

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-12 13:46:54 +02:00
Fini Jastrow
a72f9961dd Fix JetBransMono != ligature
[why]
In JetBrainsMono v2.242 the exclam-equal ligature is broken.
It has been fixed in v3.000.

[how]
The JetBrains Mono v3 has not been released yet. So we just transplant
the one broken glyph from v3.000 into our v2.242.

[note]
https://github.com/JetBrains/JetBrainsMono/issues/494

Fixes: #963

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-12 08:49:44 +02:00
Fini Jastrow
ed33d1b943 Update 3270font to v3.0.1
[why]
We have only a rather old 3270font: v1.2.23

This new font can be processed with current FontForge without problems.
And we have the benefit of an update.

[how]
Because the paths change (Medium->Regular etc) we need to purge the
patched-fonts/ directories manually. The automatic purging does work
only if at least the paths are kept.

[note]
https://github.com/rbanffy/3270font

Fixes: #947

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-07 11:55:34 +02:00
Fini Jastrow
25d8c0d0bd Update Inconsolata to v3.000
https://github.com/googlefonts/Inconsolata

Only small changes visually, but of course completely different from the
paths (because now the source is a 2D variable font).

Small letter t changed a bit.
Under the letter dot and block-building glyphs changed.
Subscript numerals.

Closes: #774

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-10-07 08:28:08 +02:00
Finii
0197629d4b [ci] Rebuild original-source font 2022-09-22 18:24:58 +02:00
Fini Jastrow
bcc80b4077 Update orgmode glyph
[why]
The glyph is needlessly detailed (for a font).
There is another, more simple glyph, which is also used by fileicons.

More details see PR #833.

Reported-by: tecosaur <contact@tecosaur.net>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-22 18:24:58 +02:00
Fini Jastrow
12cd703e39 Fix Hasklug ligature removal
[why]
Entering two consecutive vertical-bars (i.e. `||`) results in the
display of just one - the right - bar glyph.

[how]
The ligature removal is only partially implemented. The rule at work
here is not removed. There are two parts at work:

One rule to replace the first bar with nothing.

One rule to replace the second bar with a ligarture glyph with negative
left bearing, that shows two bars.

The second rule has been removed, but the first is still there.
This commit also removes the first rule.

[note]
The whole design here is broken. We remove only some rules and leave
others intact, for reasons unknown to me. Other ligartures will also be
only partially removed and leave the user with unreadable output.

We should either remove all (!) tables and not just some, or leave the
ligatures in the font.

As the ligature removal has been broken at large anyhow (see previous
commit), I would suggest to not remove any ligatures (anymore).

Fixes: #934

Reported-by: Rádler Ákos <akos.radler@gmail.com>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-22 17:46:55 +02:00
Finii
99f65e19b0 [ci] Rebuild original-source font 2022-09-21 12:00:37 +00:00
Finii
2c7fb2fd2d [ci] Simplify original-source source glyphs 2022-09-21 12:00:35 +00:00
Fini Jastrow
b255bc1d71 Update documentation 2022-09-21 13:54:42 +02:00
Fini Jastrow
eca92e3bd9 Simplify PHP glyph
[why]
This is so big, it will shrink 2 times with a
optimize-original-source.sh run, and we want to have 'optimal' glyphs
after the next (automated) CI run

[how]
Use optimize-original-source.sh once and just commit the php.svg.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-21 10:31:41 +02:00
Fini Jastrow
328b8a2d22 Add original-source.otf generator script
[why]
When we add a custom glyph (or want to update Seti) the process is
rather laborious and we are needed to change the font and the
accompanying `i_seti.sh` in sync.

[how]
We use a data file to map icon (svg) filenames to codepoints and
readable names.

That file is parsed and the font and info file is created (overwritten
in the repo); and could then be easily committed. This can be a CI
workflow.

Having a dedicated mapping file (`icons.tsv`) enables us to have stable
codepoints for the same symbol over time. Changes in codepoint
allocation can be checked in git.

Having the font autogenerated help guarantee that the icons are all
likely scaled. We rescale them all to the same size and mid-position.
That is not needed for font-patcher, because it rescales and shifts
again based on to-be-patched font metrics. But it certainly is better
for a view into the original-source font.

Sizes and position are still roughly equivalent to the hand positioned
glyphs.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-19 12:02:24 +02:00
Fini Jastrow
604c41253a Add Kotlin icon to Seti & Custom
[why]
It's not available anywhere else (it seems).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-07 06:15:30 +02:00
Fini
86c2247ee2
Merge pull request #833 from ashfinal/icon-emacs
Add icons for Emacs and Orgmode
2022-09-07 05:48:55 +02:00
Fini Jastrow
b83d1cfacb Create NerdFontsSymbolsOnly with proportional widths
[why]
The commit
  59c45ba4e  Remove negative bearings on 2048-em glyphs
has been introduced to fix some problems with the symbols only font, at
least from the commit message.

That font is intended to be used in font-fallback situations, and so we
do not know the advance width of the current font anyhow. It does not
make sense to enforce an advance width with these.

[how]
Create the NerdFontsSymbolsOnly as if 59c45ba4e would be still in
effect, i.e. with variable advance width.

[note]
There have been a lot discussions about the reverted commit, some can be
found here:
* #900
* #764
* #731

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-09-01 12:36:51 +02:00
Fini Jastrow
49d99fe883 name-parser: Rename font-patcher option
[why]
The option `--parser` instructs `font-patcher` to come up with the font
naming by utilizing the FontnameParser object.

This sounds logical from a programmers perspective, but the option name
is not descriptive for end users of `font-patcher`

[how]
As usual naming is hard. A short but maybe more descriptive name for the
option can be `--makegroups`; as it describes what the option means for
the end user: functioning font grouping.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-08-22 10:53:05 +02:00
Fini Jastrow
0b33b2f97e patch-em-all: Allow to specify font specific options
[why]
We want to patch Cascadia with `--parser` while all other fonts shall be
patched as before.

[how]
Use the config.cfg file that each source font can have to specify one
arbitrary option to the font-patcher calls.

This is just set in Cascadia's config.cfg, but can be extended to other
fonts gradually.

In this way the stand alone `font-patcher` works as before, unless
someone adds the `--parser` option. Which probably will become the
recommended way to use it over time.

The patch-em-all script on the other hand can be instructed to use or
not to use --parser on a font by font basis via their cfg file.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-08-22 10:53:05 +02:00
Fini Jastrow
166b0262d8 Update Cascadia sources to 2111.01
Also including the italic variants.

We do not use the PL versions but patch in the PL glyphs ourselves.
If this is smart can be discussed (I believe: no).

This does not add 'Cascadia Mono'.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-08-22 10:53:05 +02:00
Fini Jastrow
80568d957c Remove obsolete symbol only fonts
[why]
Not sure why they are here, all patched fonts reside now in the
`patched-fonts/` folder.

So we have two times two different symbols only font sets?

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2022-08-20 19:33:29 +02:00