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

We no longer have to avoid reusing non-font-specific names #1119

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

rsheeter
Copy link
Contributor

@rsheeter rsheeter commented Nov 14, 2024

Fix for #1105 on the python side made it possible to reuse non-font-specific names, make fontc consistent.

Makes python resources/scripts/ttx_diff.py 'https://github.com/googlefonts/Exo-2.0#sources/Glyphs/Exo2-Italic.glyphs' and python resources/scripts/ttx_diff.py 'https://github.com/googlefonts/atkinson-hyperlegible#sources/AtkinsonHyperlegible.glyphs' and hopefully others identical instead of different on (name, fvar).

JMM if happy.

@rsheeter rsheeter added this to the fontc 1.0 milestone Nov 14, 2024
Copy link
Member

@cmyr cmyr left a comment

Choose a reason for hiding this comment

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

🚢

@@ -48,9 +48,6 @@ impl Work<Context, AnyWorkId, Error> for StatWork {
let reverse_names: HashMap<_, _> = static_metadata
.names
.iter()
// To match fontmake we should use the font-specific name range and not reuse
// a well-known name, even if the name matches.
Copy link
Member

Choose a reason for hiding this comment

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

happy to delete a confusing special case!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Confused me when I put that code in and again today rofl

@rsheeter rsheeter added this pull request to the merge queue Nov 14, 2024
Merged via the queue into main with commit 53151a1 Nov 14, 2024
10 checks passed
@rsheeter rsheeter deleted the name branch November 14, 2024 21:19
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.

2 participants