Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FontAwesome: Scale glyphs a bit smaller #1722

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Conversation

Finii
Copy link
Collaborator

@Finii Finii commented Oct 28, 2024

[why]
With Nerd Fonts v3.2.0 Font Awesome was updated to 6.5.1.

A lot icons got replaced and so the scaling was completely different then with the old Font Awesome version as the icons were different.

Some complained that the new icons were to small, so that was fixed with Nerd Fonts v3.2.1, where the size was increased by "approx 10%".

Now this seems a bit on the big side, so we decrease the size a bit.

[how]
v3.2.0 EM 1400 relative size 1.00
v3.2.1 EM 1200 relative size 1.17
v3.3.0 EM 1300 relative size 1.08

So we go to 92% of v3.2.1, i.e. -8% in height.

Note that the original change with v3.2.1 was +17% instead of the intended 10% :-(

That 10% was just "some random number out of the blue".

Related: #1588
Fixes: #1614

Requirements / Checklist

  • Read the Contributing Guidelines
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan.
    Issue number where discussion took place: #xxx
  • If this contains a font/glyph add its origin as background info below (e.g. URL)
  • Verified the license of any newly added font, glyph, or glyph set. License is: xxx

What does this Pull Request (PR) do?

Resize Font Awesome - the last time 😬

How should this be manually tested?

Any background context you can provide?

What are the relevant tickets (if any)?

Screenshots (if appropriate or helpful)

[why]
With Nerd Fonts v3.2.0 Font Awesome was updated to 6.5.1.

A lot icons got replaced and so the scaling was completely different
then with the old Font Awesome version as the icons were different.

Some complained that the new icons were to small, so that was fixed with
Nerd Fonts v3.2.1, where the size was increased by "approx 10%".

Now this seems a bit on the big side, so we decrease the size a bit.

[how]
v3.2.0   EM 1400    relative size 1.00
v3.2.1   EM 1200    relative size 1.17
v3.3.0   EM 1300    relative size 1.08

So we go to 92% of v3.2.1, i.e. -8% in height.

Note that the original change with v3.2.1 was +17% instead of the
intended 10% :-(

That 10% was just "some random number out of the blue".

Related: #1588
Fixes: #1614

Signed-off-by: Fini Jastrow <[email protected]>
@Finii Finii added this to the v3.3.0 milestone Oct 28, 2024
[why]
archive-fonts.sh:60:10: note: Double quote to prevent globbing and word splitting. [SC2086]

Although the variable can not hold multiple words, it is better to
always quote.

Signed-off-by: Fini Jastrow <[email protected]>
@Finii Finii merged commit d3bb7e2 into master Oct 28, 2024
5 checks passed
@Finii Finii deleted the feature/FontAwesome-scaleing branch October 28, 2024 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase in FA icon size 3.2.0 to 3.2.1
1 participant