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

[marks] Move marks logic into a context struct #764

Merged
merged 1 commit into from
Apr 3, 2024
Merged

[marks] Move marks logic into a context struct #764

merged 1 commit into from
Apr 3, 2024

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Apr 2, 2024

This patch just matches the existing behaviour, but it will be improved to match the behaviour of fontmake.

no functional change, diffs are all the same etc; just thought this would be a good checkpoint that will reduce the size of subsequent diffs.

This patch just matches the existing behaviour, but it will be improved
to match the behaviour of fontmake.
Copy link
Member

@dfrg dfrg left a comment

Choose a reason for hiding this comment

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

Love the changes here. The new code is much easier to read and almost trivial to follow step by step with the comments.

Comment on lines +93 to +98
for anchors in anchors {
// skip anchors for non-export glyphs
if !glyph_order.contains(&anchors.glyph_name) {
continue;
}
for anchor in &anchors.anchors {
Copy link
Member

Choose a reason for hiding this comment

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

so many anchors!

@cmyr cmyr added this pull request to the merge queue Apr 3, 2024
Merged via the queue into main with commit 949b3b7 Apr 3, 2024
10 checks passed
@cmyr cmyr deleted the marks-context branch April 3, 2024 14:10
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