-
Notifications
You must be signed in to change notification settings - Fork 13
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
First step toward marks #492
Conversation
0c1090f
to
08ed079
Compare
ade3346
to
f5ac1ba
Compare
59497b4
to
6f75c18
Compare
4134a80
to
af0348f
Compare
e8bba33
to
211b69b
Compare
4c71715
to
6078f3a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some observations inline but looks like we're very close!
e722100
to
f70dab4
Compare
f70dab4
to
c05ebfc
Compare
c05ebfc
to
4d6f960
Compare
083e7ba
to
01ad09c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice to see this is making progress! left some comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some notes inline but I think we should get this in and iterate from here!
let right = glyph_classes.get(right).unwrap().clone(); | ||
let left = glyph_classes | ||
.get(left) | ||
.ok_or_else(|| Error::MissingGlyphId(left.clone()))? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we could pre-validate the kerning info at an earlier point in the pipeline?
Co-authored-by: Cosimo Lupo <[email protected]>
Starting to work toward marks based on discussion with @anthrotype. Likely to be step one in a series of PRs.
Helps with #308.
Builds on @cmyr's work to avoid generating fea strings in #496. Rebased to sit on top of fea-rs merge into fontc and the feature writer api (#517).
Includes API sketch from cmyr/fea-rs#243, updated per cmyr/fea-rs#243 (comment).
fontbe/src/features.rs
is the heart of it.