Closed hasecilu closed 7 months ago
Thanks for sharing rusty-rain
I believe we had it 'one width' wide before and then it was so small one could almost not discern it. And I'm not sure there is any 'we have a square bounding box' idea here (i.e. with font logos), but I can be mistaken.
See for example here:
Taken from some random user's comment
$ git log kali-linux.svg
commit 42440ab4626d577f7001d9ca7dc20d22ca58c23a
Author: Lukas W <lukaswhl@gmail.com>
Date: Thu Jul 7 12:35:52 2022 +0200
Scale Kali Linux back up
Fixes regression from aef7b01d38929a47bb06dd27f67435d3fea78899 by
scaling kali logo up to fit to SVG height (instead of width).
This makes kali wider than 1em, breaking the existing .fa-fw style.
Work around this by overwriting .fa-fw font-size for wider icons to
scale them back down.
commit aef7b01d38929a47bb06dd27f67435d3fea78899
Author: Lukas W <lukaswhl@gmail.com>
Date: Tue Jul 5 17:09:33 2022 +0200
Fix kali-linux
commit e9065a979eac24e3faaa5afe0f3888d981e743fb
Author: Daniel Ruiz de Alegría <daniel@drasite.com>
Date: Thu Dec 3 14:11:31 2020 +0100
Add icon for Kali Linux
Thanks for sharing
rusty-rain
You may be interested on: https://github.com/cowboy8625/ezemoji/pull/5
I believe we had it 'one width' wide before and then it was so small one could almost not discern it.
Mmm, I see, I don't remember seeing another "wider" glyph on Nerd Fonts but seems reasonable to have this exception, user just would need to use an extra space to avoid overlapping.
In font-logos each glyph has the advance width exactly as the glyph bounding box, means
Hmm, for example OpenCAD seems to be not maximized in height nor width :thinking:
Here an overview of all glyph sized (hori/verti):
which has been quickly generated by this script
The usecase rusty rain expects (kind of) a monospaced font. Also 'broken' there are small glyphs, which are not centered but also left aligned within the 'strand' ('cell'):
It (Kali) would not overlap so badly if they centered the glyphs on the strand-centerline instead. That would also improve the looks for the small icons and even if people use the classic [a-zA-Z0-9]
but with a proportional font.
What I mean: rusty rain does not behave nicely with non-monospaced fonts, but they could change that. Font-Logos is non-monospaced.
While playing with https://github.com/cowboy8625/rusty-rain/ I noticed that the Kali Linux logo is wider than it should be.