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

font-patcher: Scale all Material Design Icons individually #1133

Merged
merged 1 commit into from
Feb 23, 2023

Conversation

Finii
Copy link
Collaborator

@Finii Finii commented Feb 23, 2023

[why]
The Material Design Icons have for sure pairs of glyphs that people would like to have scaled identically. Because the sheer number of glyphs and because they are already very nicely and uniformly scaled within their design space the MDI at the new codepoints where all scaled the same with taking the theoretical design space as ScaleGlyph.

But that means all icons get scaled a bit smaller than before, where we individually scaled each Material Design Icon to fill the cell. This lead to numerous complaints.

[how]
We take a different approach now, more conventional maybe. Especially in the light that the older bigger icons will get dropped; and people love them.
So the uniform scaling is ditched and the individual scaling is used.

Fixes: #1061

Requirements / Checklist

What does this Pull Request (PR) do?

How should this be manually tested?

Any background context you can provide?

greshake/i3status-rust#1728

What are the relevant tickets (if any)?

Screenshots (if appropriate or helpful)

[why]
The Material Design Icons have for sure pairs of glyphs that people
would like to have scaled identically. Because the sheer number of
glyphs and because they are already very nicely and uniformly scaled
within their design space the MDI at the new codepoints where all scaled
the same with taking the theoretical design space as ScaleGlyph.

But that means all icons get scaled a bit smaller than before, where we
individually scaled each Material Design Icon to fill the cell.
This lead to numerous complaints.

[how]
We take a different approach now, more conventional maybe. Especially in
the light that the older bigger icons will get dropped; and people love
them.
So the uniform scaling is ditched and the individual scaling is used.

Fixes: #1061
Note: greshake/i3status-rust#1728

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@Finii Finii added this to the v3.0.0 milestone Feb 23, 2023
@Finii
Copy link
Collaborator Author

Finii commented Feb 23, 2023

Nerd Font Mono before

image

Nerd Font Mono after

image

For the non-Mono font there is no change because that will only scale down if the symbol is wider than 2 cells, which is impossible by their design (for all 'normal' to be patched fonts)

@Finii Finii merged commit 90be3f4 into master Feb 23, 2023
@Finii Finii deleted the feature/bigger-mdi branch February 23, 2023 17:14
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.

New material design icon block icons are much smaller and thus less readable.
1 participant