-
Notifications
You must be signed in to change notification settings - Fork 476
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
Theme material-nf3 #1728
Theme material-nf3 #1728
Conversation
In reference to this: ryanoasis/nerd-fonts#1096 / ryanoasis/nerd-fonts#773 ? What was the difference between nf-mdi and nf-md? I can't remember... |
Yes, I think that they moved the old mdi icons to a new region so they renamed them all to just md so the names wouldn't overlap as well. I will note that the new icons do render a bit smaller than the old ones. |
Apparently... I imagine getting a few bug reports from that alone.. |
I will fix 1061 before v3.0.0 goes out. |
Perhaps this should become a new theme, |
So if nerd fonts v3.0.0 is going to not just deprecate but also remove the codepoints that we are currently using then we should probably create |
v2 does write glyphs outside of the PUA. As noted on ryanoasis/nerd-fonts#365:
One of the last comments from @Finii:
So, if I understand correctly, some of the codepoints we use in today's material-nf will be removed in v3. |
Citation from https://github.com/ryanoasis/nerd-fonts/releases Codepoint 'translation list' can be found here: ryanoasis/nerd-fonts#1059 (comment) Edit: Add translation list link |
[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 <[email protected]>
[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 <[email protected]>
11778c6
to
f65a6fc
Compare
Looks great @Finii, thanks!! If anyone else wants to test and hasn't built a font before, this is what I did on arch:
Restart i3status-rust |
f65a6fc
to
0346894
Compare
Anything that should be done before this is merged? |
Cloning the repo even with sudo pacman -S fontforge
cd /tmp
-git clone --depth 1 https://github.com/ryanoasis/nerd-fonts.git
+mkdir nerd-fonts
cd nerd-fonts
+curl -LO https://github.com/ryanoasis/nerd-fonts/raw/master/FontPatcher.zip
+unzip FontPatcher.zip
./font-patcher -s -ext ttf -c -out ~/.local/share/fonts/ src/unpatched-fonts/NerdFontsSymbolsOnly/NerdFontsSymbols\ 2048\ EM\ Nerd\ Font\ Complete\ Blank.sfd Edit: Oh sorry, I see you use the empty template |
I was thinking perhaps we should instead keep |
0346894
to
39d876a
Compare
We may want to wait until the next nerd-fonts release so that we don't have complaints about the small icons. (I imagine most people haven't installed them from src) |
Just saw i3status-rust/files/icons/material-nf.toml Lines 73 to 79 in 4e45727
nf-md-* out of material-nf.toml still? It feels like we'll muddle the line between material-nf2.3.toml and material-nf.toml .
|
39d876a
to
b36ba34
Compare
If I understand it correctly, the reason we don't just switch to nf-md-* is icons' size. I didn't notice any scaling issues with the wifi icons, so I added them. If the scaling issues will be resolved, I see no point in splitting |
b36ba34
to
c6134d2
Compare
The split was aimed at people using specific distros where they might have nerdfonts in the repo but not i3status-rust, and end up with the former lagging behind the latter which would be updated by the user. But I just checked the nerd-fonts repo and it seems like it's not even in Debian or Ubuntu repos (the usual suspects) so maybe we don't need to keep the legacy icon set? |
All of the codepoints we're using (both nf-mdi and nf-md) are available in 2.3, so as long as the major repos that have nerdfonts are at least that up to date it shouldn't be required to keep two icon sets around. |
Ok that makes things simpler then |
The `nf-mdi-*` icons have been deprecated as of `v2.3.x`. This commit exchanges them for their `nf-md` counterparts. From https://github.com/ryanoasis/nerd-fonts/releases/tag/v2.3.3: > The `v2.3.x` release has both, the 'old' and the 'new' codepoints to > enable you an easier transition. Please change already now your > prompts and other uses to the new codepoints. Release `v3.0.0` will > finally drop the old codepoints (`F500` - `FD46`).
c6134d2
to
dc50593
Compare
v3.0.0 has been released, congratulations @Finii! |
Yay, |
[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: ryanoasis#1061 Note: greshake/i3status-rust#1728 Signed-off-by: Fini Jastrow <[email protected]>
Update material-nf
The
nf-mdi-*
icons have been deprecated. This commit exchanges themfor their
nf-md
counterparts.Add thermometer progression for material-nf