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

Update codicons to 0.0.35 #1544

Merged
merged 6 commits into from
Mar 17, 2024
Merged

Update codicons to 0.0.35 #1544

merged 6 commits into from
Mar 17, 2024

Conversation

Finii
Copy link
Collaborator

@Finii Finii commented Mar 16, 2024

Codicons to 0.0.35

https://github.com/microsoft/vscode-codicons/releases

image

left: our current, right: 0.0.35, modified glyphs marked with blue bar

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)?

Screenshots (if appropriate or helpful)

to 0.0.35

Signed-off-by: Fini Jastrow <[email protected]>
@Finii Finii changed the title Update codicons Update codicons to 0.0.35 Mar 16, 2024
@Finii
Copy link
Collaborator Author

Finii commented Mar 16, 2024

Scaled for Nerd Font Mono (check scale groups)

image

See PR #1544

Signed-off-by: Fini Jastrow <[email protected]>
@Finii
Copy link
Collaborator Author

Finii commented Mar 16, 2024

Two of the 4 icons showing a book have a zero width opening, that we remove manually.

image

image

With tool, call:

fontforge generate-glyph-info-from-set.py --font ../../src/glyphs/codicons/codicon.ttf --start ea60 --end ec1e --offset 0 --prefix cod > i_cod.sh_part

Signed-off-by: Fini Jastrow <[email protected]>
@Finii
Copy link
Collaborator Author

Finii commented Mar 17, 2024

WAT? 🤔 file_code ??

image

[why]
Two glyphs may not have the same name (normally).
Our glyphnames.json will break.

[how]
Do not add two entries with the same name but rather report the
codepoints in the bottom.

Signed-off-by: Fini Jastrow <[email protected]>
@Finii
Copy link
Collaborator Author

Finii commented Mar 17, 2024

Now it's in there 2 times??!

image

Ah, fixed the script.

[why]
We need the glyphnames to be unique, or some glyphs will not be
accessible later (in the cheat sheet, css, glyphnames).

[note]
Also already remove one non-effective duplicate that is first an alias
and later a real glyph in i_seti.sh

Signed-off-by: Fini Jastrow <[email protected]>
@Finii Finii marked this pull request as ready for review March 17, 2024 14:26
@Finii Finii merged commit 59133b8 into master Mar 17, 2024
7 checks passed
@Finii Finii deleted the feature/update-codicons branch March 17, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant