Skip to content

Conversation

@LongCatIsLooong
Copy link

@LongCatIsLooong LongCatIsLooong commented Apr 14, 2024

This patch:

Removes ligature tables Removes the glyph names from the post table

Looks like the cheatsheet and dartdoc are still using the ligatures tech. So the ligature tables are kept.

Fix overlapping outlines

Multiple SVGs with the same file name were mapped to the same codepoint, so the SVGs were imported into the same glyph.

A few asserts were added in the script to guard against importing multiple outlines to the same glyph.

Regenerate font

This seems to fix the vertical alignment. This should fix flutter/flutter#143069. Comparison (left: old, right: new):

Screenshot 2024-04-14 at 8 23 21 PM

"trash_fill": [0xf4c5],
"pencil": [0xf37e, 0xf2bf],
"square_pencil": [0xf417],
"square_pencil_fill": [0xf418],
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is changed from 0xf417 to 0xf418

auto-submit bot pushed a commit to flutter/packages that referenced this pull request Apr 16, 2024
@jmagman
Copy link

jmagman commented Apr 16, 2024

@LongCatIsLooong @xster I didn't realize we were using scripts from https://github.com/xster. Can we move this into https://github.com/flutter/packages?

@xster
Copy link
Owner

xster commented Apr 27, 2024

oh man, I'm a bit embarrassed that it's still here. It's definitely outlived it's shelf life. I did it here because I thought these icons would live for about 2 years like the previous design. If we think these stuff will live for a while, it'd be best to move them to somewhere more suitable long term.

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.

Cupertino icons are misaligned in latest beta

3 participants