googlefonts / googlefonts/fontc

kern lookup order can vary in unimportant ways in some cases

Open
#1,807 0 comments 0 reactions 0 assignees View on GitHub
crater
Dominant language
Rust
Stars
193
Forks
21
Avg merge
1d 17h
Merged PRs (30d)
65

Description

This is a cause of a diff for [liter.glyphs](https://github.com/skugiz/liter): the two compilers are generating the same lookups, but they end up being in a slightly different order in the lookup list, which causes some indices to be different in the GPOS.

This is already mostly handled by normalization, but noramlization does currently leave the lookup order in place. The most obvious solution here is to remove the set of lookups completely in the ttx diff at all for at least kern/dist.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing normalization and the ttx diff handling for kern/dist, focusing on where lookup order is preserved. Compare the generated lookup lists for the liter.glyphs case and verify that equivalent lookup sets no longer produce a diff solely from ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.