-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Bugfix Codicon Circles #1261
Bugfix Codicon Circles #1261
Conversation
Here examples of the various tries: Current situationThis looks reasonable for The ScaleGroupsVertA new scaling group type added, seems to look good: And here a proportional font Here it also seems to look good, albeit the quasi-cellsize is a bit wide. Legacy situationMeans |
Codicons: Maximise all circles [why] The scaling works okay for `Nerd Font Mono` fonts, but not for `Nerd Font` fonts. The later have 'unexpected' left side bearing, which looks even more out of place because the width is unrelated to the advance width and might place the majority of the glyph into the next cell. [how] In fact we do not want scaling and shifting to be uniform for all glyphs but the intend was to get the scaling from the biggest (full size) circle and all the smaller ones would be proportionally smaller. So we add a new Scale grouping that just takes the scale and the vertical shift of the combined boundingbox, but individually calculates the horizontal shift. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
See PR #1261 for details on the reasons. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
05da381
to
41d5b06
Compare
41d5b06
to
ba1d16b
Compare
ba1d16b
to
c8dd880
Compare
This reverts commit fcf5c84. [why] There is no current usecase for the ScaleGroupVert.
See PR ryanoasis#1261 for details on the reasons. This mostly reverts commit f84a4a4 font-patcher: Add Codicons scale list Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Bugfix Codicon Circles
Description
Revert scaling of (most of) the Codicons back to individual maximize as it has been with
v2.3
and before.On the way a new Scaling method is introduced and removed again as it does technically solve the problem but probably people do not want relative consistency but big icons i.e. maximizing.
Requirements / Checklist
What does this Pull Request (PR) do?
How should this be manually tested?
Any background context you can provide?
What are the relevant tickets (if any)?
Fixes: #1240
Screenshots (if appropriate or helpful)