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

Model kerning in IR and capture it for .glyphs and .designspace #334

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

rsheeter
Copy link
Contributor

@rsheeter rsheeter commented Jun 7, 2023

Intent is to output variable features we compile with fea-rs. IR model is meant to accomodate glyphs and designspace. Most interesting part should be fontir/src/ir.rs which has the IR changes, esp. struct Kerning which holds a variable-first representation of kerning.

left/right KerningGroup all the things. Or kern left/right ... it's all very confusing.

https://gist.github.com/rsheeter/4c8e7822d276f871eef974f8c1975ace shows an example of kerning IR (for Oswald).

Step toward #308. I want to leave filling in the blanks and aligning kerning groups to a subsequent PR.

@rsheeter rsheeter marked this pull request as ready for review June 8, 2023 00:12
@rsheeter rsheeter changed the base branch from main to kern2 June 8, 2023 16:34
Base automatically changed from kern2 to main June 8, 2023 16:37
ufo2fontir/src/source.rs Outdated Show resolved Hide resolved
fontir/src/ir.rs Outdated Show resolved Hide resolved
glyphs2fontir/src/source.rs Outdated Show resolved Hide resolved
@rsheeter rsheeter force-pushed the kern3 branch 2 times, most recently from 9786482 to f5facab Compare June 9, 2023 04:45
fontir/src/ir.rs Outdated Show resolved Hide resolved
ufo2fontir/src/source.rs Outdated Show resolved Hide resolved
fontc/src/lib.rs Outdated Show resolved Hide resolved
@rsheeter rsheeter merged commit 4bee4a8 into main Jun 13, 2023
6 checks passed
@rsheeter rsheeter deleted the kern3 branch June 13, 2023 21:04
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.

None yet

3 participants