Comments (11)
Where is the PR @Finii !!!?
from nerd-fonts.
Thanks for the detailed explanation and the solution! I don't know if it's helpful, but I filed your proposed solution as a PR. I think that's right, don't have much experience in this area. #1617
It's your change, so if you want to file your own PR for it fine by me, just trying to reduce some cycles for you 😁 .
from nerd-fonts.
Most probably you already read it, but if not... the cryptic rules have some explanation
# Stretch 'xz' or 'pa' (preserve aspect ratio)
# Supported params: overlap | careful | xy-ratio | dont_copy | ypadding
# Overlap value is used horizontally but vertically limited to 0.01
# Careful does not overwrite/modify existing glyphs
# The xy-ratio limits the x-scale for a given y-scale to make the ratio <= this value (to prevent over-wide glyphs)
# '1' means occupu 1 cell (default for 'xy')
# '2' means occupy 2 cells (default for 'pa')
# '!' means do the 'pa' scaling even with non mono fonts (else it just scales down, never up)
# '^' means that scaling shall fill the whole cell and not only the icon-cap-height (for mono fonts, other always use the whole cell)
# Dont_copy does not overwrite existing glyphs but rescales the preexisting ones
#
# Be careful, stretch may not change within a ScaleRule!
'align': 'c', 'valign': 'c', 'stretch': '^pa1!', 'params': {'ypadding': 0.3, 'careful': True}
- Align horizontally and vertically in the center
- Scale it with preserved aspect ratio (x and y scale is equal) into 1 cell (default would be 'up to 2' for
pa
) - Take the whole line-hight (
^
) and subtract 30% from the height (ypadding
) - Do the scaling also for proportional fonts
- Do not change preexisting glyphs
from nerd-fonts.
Sorry to hear of your size problem.
I can see it directly in the font 🤔
Suspect
Because from these heavy brackets people DO expect excessively big icons 🤔
from nerd-fonts.
In this example the icon is (far) less tall than the small letter T, which is strange
I will example in detail.
from nerd-fonts.
The cell heights difference is quite huge here?
Not the case 'globally':
68% vs 76% ?
Hmm, thanks for reporting. This needs some consideration and a systematic check. I see the effect by the reason is not quite clear; and maybe that should have been marked with the ^
(fit to full height) modifier.
from nerd-fonts.
Ahh, one should read ...
from nerd-fonts.
Ah, the heavy brackets are now two times shrunken, there was an old rule that already sized them down relative to the full cell:
The rule needs to be changed to ^pa1!
....
from nerd-fonts.
@allcontributors please add @gibfahn for bug
from nerd-fonts.
I've put up a pull request to add @gibfahn! 🎉
from nerd-fonts.
Apologies if this is unrelated or intended, but I noticed an increase in the size of some symbols in ttf-firacode-nerd
, going from 3.2.0
-> 3.2.1
in my i3 status bar.
3.2.0 |
3.2.1 |
---|---|
U+F120
(nf-fa-terminal
) and U+F11B
(nf-fa-gamepad
)
from nerd-fonts.
Related Issues (20)
- BlexMono: doesn't work in Windows HOT 6
- [MonospiceNe NFM] VS Code does not allow 'Mono' font as terminal font HOT 12
- Just found a typo on wiki HOT 3
- Lucide icons solid HOT 3
- Add maple font HOT 1
- CaskaydiaCove Nerd Font -- "Arrow" Ligature HOT 12
- Increase in FA icon size 3.2.0 to 3.2.1 HOT 7
- Semi-Systematic Logo-Addition Evaluation HOT 2
- Font request: Space Grotesk HOT 1
- Should CaskaydiaCove (nerd version of Cascadia) be replaced with the official nerd version? HOT 2
- Large glyphs in MesloLGS NF for catppuccin/tmux HOT 2
- Glyph e27f (nf-fae-atom) in "Cascadia Code NF" is filled in some areas where it should not be HOT 1
- Incorrect (?) width of glyph(s) in RobotoMono Font HOT 1
- Missing 1px line at the top of upper-left and upper-right triangles HOT 13
- ShureTechMono "fi" text overlap. HOT 10
- Deprecation warning for `appcast` in `font-sourcecodepro-nerd-font` HOT 4
- Update 0xProto to 2.0 HOT 1
- Homebrew/cask-fonts will soon be deprecated HOT 2
- Tilde character in Inconsolata font looks off HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nerd-fonts.