Commit graph

426 commits

Author SHA1 Message Date
Fini Jastrow
264c7383e6 Monaspace: Add ExtraLight to prepatched set
Fixes: #1670

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-06-30 16:19:47 +02:00
Fini Jastrow
a4ddd1e867 Fix Gohufont 14 question mark
Also clean up README situation.

Fixes: #1652

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-06-18 13:13:00 +02:00
Fini Jastrow
4e0ed0fbb0 Prepare Gohufont 14 question mark fix
[why]
Ordinary questionmark and inverted questionmark in upstream Gohufont 14
have the same glyph name, breaking the font.

[how]
Rename the inverted questionmark to the customary "inverted" via ttx.

This just prepares the change.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-06-18 13:13:00 +02:00
Fini Jastrow
3043085331 ShareTechMono: Remove fi/fl ligs
[why]
When we crate the hard-monospaced Nerd Font Mono variant the ligs will
be shrunk to 1 cell wide, while the content of the `fi` lig is of course
two cells, ending up in strange overwriting issues.

[how]
Remove the `fl` and `fi` ligatures completely.

Fixes: 1631

Reported-by: @Markov-Komarov
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-05-08 14:23:01 +02:00
Finii
4b887d6dc4 [ci] Rebuild original-source font 2024-04-26 11:04:41 +00:00
Fini Jastrow
88eae283f6 Update Ruby icon
[why]
Improve legibility by having gaps between the gemstone surfaces.

[how]
There is no official monochrome icon. Found one free pixel one and
converted that to outline.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-26 12:58:21 +02:00
Fini Jastrow
e13ef50861 Update Firebase icon from original icon
[why]
Improve legibility. The full icon is in fact a multicolor icon and the
design depends on being rendered in multiple different colors. That is
impossible for fonts. So we should probably use their flat (mono-color)
icon instead, which hints the different 'flaps' through gaps instead of
colors.

[note]
Both icons (the old and the new) contradict rules given by Firebase to
use the logo. But that can not be helped in a icon font, as we just have
one color of undetermined hue.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-26 12:58:21 +02:00
Fini Jastrow
7d7ab4c3d6 Update Bazel icon from original icon
[why]
The Bazel icon might look nicer with gaps between the surfaces of the
cubes.
That is halfway in-line with the design idea of their logo.

See PR #1610 and link
https://blog.bazel.build/2017/07/05/new-logo-and-homepage.html

[how]
Based on the idea from Ezekiel Warren the Bazel icon gets gaps between
the surfaces of the cubes.
For this we use the skeleton svg icon of the Bazel website and construct
from scratch a new outline to represent the cube surfaces. The original
svg used lines with a width to create the image, which is not compatible
to fonts.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-26 12:58:21 +02:00
Fini Jastrow
548ed2aabd Revert "update bazel svg"
This reverts commit 0c1f0087b4.

[why]
We keep the seti icons unmodified and instead add them as custom if we
introduce any change.
2024-04-26 12:58:21 +02:00
Ezekiel Warren
cdd19c7715 update bazel svg 2024-04-26 12:58:21 +02:00
Fini Jastrow
378d97cf1b font-patcher: Allow to rehint some Cascadia glyphs
[why]
Some Caskaydia Cove glyphs that are used in ligatures (to create endless
arrows for example) show uneven line thickness on some platforms.

The reason is the not-matching hinting of glyphs that are places next
to each other and so minuscule differences are quite visible.

Note that the 'original' hinting is generated by VTT on the static
Cascadia Code instances, which upstream just have ttfautohint hints that
are different from the hints in the variable fonts and people complained
that the look is different.

[how]
Add a new field to the config.cfg file that holds regexes of glyph
names for glyphs that should be re-hinted by fontforge on patching time.

In principle we could also implement that as an additional pre-step that
needs to be manually done after running VTT on the static font files.

I'm not sure which is better.

Note that fontforge generates a lot of debug output because the hinting
is not ideal - the global tables are kept and probably less compatible
to fontforge's own hinting... But the results are good.

Fixes: #1291
Fixes: #1609

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-22 14:08:28 +02:00
Fini Jastrow
88d63ff827 gotta-patch-em: Correct file type of config files
[why]
The config files are called `config.json` while the contents is
INI-like. The usual extension would be `.cfg`.

[how]
We use `.cfg` already for the shell variable configuration.

Combine both config file variants into one (real) cfg file, that is
directly read by the font-patcher and no shell variables files are used
anymore.

This needs some rewrite in gotta-patch-em to get the quoting right.
To make this simpler we remove the `--debug 1` option from the variable
and insert it directly (as it is applied always anyhow).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-22 14:08:28 +02:00
Fini Jastrow
ce9910a3fb Attach license to old MaterialDesignIcons font file
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-12 08:47:03 +02:00
Fini Jastrow
c90f4ef058 Add Pomicons license
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-12 08:47:03 +02:00
Fini Jastrow
8516c9c8b1 Ubuntu: Remove fi, fl, ... ligatures
[why]
The fi and fl ligs are formulated in the font to go through glyphs with
codepoint `F001` and `F002`. That is detected and overwriting that
glyphs with some (Font Awesome) icons is prevented.

The question is: What is more important, to have the fi ligature or to
have the fa-music and fa-magnifying_glass icons?

[how]
We sacrify here Font Nerdism over Icon Nerdism and remove the
ligatures before patching.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-10 08:07:03 +02:00
Fini Jastrow
1ddfb70dd3 FontAwesome: Regerenate font
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-08 18:11:23 +02:00
Fini Jastrow
1fe58378a2 FontAwesome: Scale glyphs a bit bigger
[why]
The glyphs can look a bit small(er) when used unscaled, for example in a
Nerd Font Propo font. Note that some icons indeed got smaller, but in
general the generated font is a bit smaller than before.

Related: #1588

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-08 18:05:37 +02:00
Fini Jastrow
64e55d8d48 FontAwesome: Regenerate mapping
Don't forget to run against the v3.1.1 glyphnames.json.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-08 17:27:13 +02:00
Fini Jastrow
b441dbd706 FontAwesome: Regenerate remix mapping
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-08 16:59:16 +02:00
Fini Jastrow
b5ec9d04fe FontAwesome: Leave a gap for Fira progress icons
[why]
We do not want to break the Fira progress icons, but on the other hand
these are so few icons that we can not keep the whole 0x0100 block
unoccupied.
So we just leave a small gap in the FontAwesome codepoints.

[how]
Be careful, the current code moves the icons 'to the back', which will
be different if we ever update FontAwesome. The code will break
(reassign a lot codepoints) then.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-08 16:58:13 +02:00
Fini Jastrow
2e854ba90f FontAwesome: Fix device icons
[why]
Previously we had icons with an open screen and a button, now it is
filled.

[how]
Swap the icons with the open icons at completely different codepoints.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-08 16:31:09 +02:00
Fini Jastrow
07ba7a1421 FontAwesome: Allow two identical circles
[why]
F1DB had an open circle, called circle-thin.
That must now come from the regular set.
Unfortunaly circle_o at F10C already is also the same regular set icon.
And we try to prefer the solid set if a regular set has been used
already.

[how]
Add one specific exception to the rule :-(

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-08 16:24:05 +02:00
Fini Jastrow
c2be39d2a9 FontAwesome: Swap some icons
youtube and cloudsmith should change their codepoints, because youtube
occupies a 'lesser' youtube codepoint and yields a 'better' codepoint to
cloudsmith.

Better means the icon looks more like in FA 4.

Also swap the devices icons that in 4 showed a screen and now it is
filled.

[how]
The mechanics is a bit ... ugly.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-08 15:55:03 +02:00
Fini Jastrow
e4ad9ee693 FontAwesome: Fix open comments icon
[why]
When creating the renaming table the wrong number has been entered
(twice the same).

[how]
Correct the renaming thereby making the renamed icon visible.
The icon that has been 'kicked out' is moved to the end of the patched
block.

New:
F0E6 F0E6 regular/comments.svg

Moved:
F374 EFC2 brands/avianex.svg (was previously on F0E6)

Renamed:
RENAME comments_o to comment_o (F0E5)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-08 14:43:30 +02:00
Fini Jastrow
9bb694cafc FontAwesome: Fix remove_sign and ok_sign
[why]
The open variants of circle_xmark and circle_check are missing.

[how]
Rename the filled versions to their old (i.e. FA 4.2) names
(remove_sign and ok_sign) and let the open (regular) variants
find their place automatically.

Because we now have two more icons that would move all codepoints we can
either drop the icons that occupied the circle_xmark and circle_check
codepoints before, or we move the to the end (unpatched yet) region.

As these are just some more arrows, we drop them.

Dropped:
F30B F05C solid/right-long.svg
F30C F05D solid/up-long.svg

New:
F05C F05C regular/circle-xmark.svg
F05D F05D regular/circle-check.svg

Renamed:
RENAME circle_xmark to remove_sign (F057)
RENAME circle_check to ok_sign (F058)

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-04-08 14:31:36 +02:00
Fini Jastrow
d8333910db Add UbuntuSans to fontfilenames
Has been forgotten...

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
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
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
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
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
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
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
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
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
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
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
Fini Jastrow
c2861581f2 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>
2024-03-25 23:38:41 +01:00
Lucy Phipps
0c2a028715
update Intel One Mono to 1.3.0 2024-03-25 15:35:08 +00:00
Fini Jastrow
6e2b68b15b doc: Add readme for PowerlineSymbols
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-20 16:56:11 +01:00
Fini Jastrow
5e2858670e Increase Powerline overlap (only rounded)
[why]
We still fight with the faint lines on the big side of the powerline
glyphs. They come from the LCD antialiasing mode that has problems with
the borders.

Other fonts use far more overlap. We use only a modest amount of overlap
(1% of the width).

[how]
As the other fonts do, increase the overlap (to 6% now).

Add full-hight 'landing platforms' on the outsides of the glyphs,
which are 7% wide.

Related: a8b9e1da06
Related: #1245

Fixes: #1547

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-20 16:39:03 +01:00
Fini Jastrow
cd9f49041f Move PowerlineExtra into subdirectory
And add meta information.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
2024-03-20 16:38:44 +01:00