Skip to content

[aat] Apply language-specific morph features - #453

Merged
behdad merged 1 commit into
mort-shapingfrom
aat-ltag
Aug 24, 2026
Merged

[aat] Apply language-specific morph features#453
behdad merged 1 commit into
mort-shapingfrom
aat-ltag

Conversation

@behdad

@behdad behdad commented Aug 24, 2026

Copy link
Copy Markdown
Member

Implements AAT language-tag feature selection for both mort and morx chains using the font's ltag table. Language matching follows HarfBuzz prefix semantics, including normalized BCP 47 subtags.

Also refreshes the stale HarfBuzz conformance totals.

This is stacked on #451 because that PR introduces the shared mort/morx chain compilation path.

Validation:

  • cargo test (6,041 shaping tests)
  • cargo clippy --all-features --all-targets -- -D warnings
  • cargo +1.85 build -p harfrust --target thumbv7em-none-eabihf --no-default-features --features=libm
  • matches HarfBuzz on Big Caslon
  • matches HarfBuzz on synthesized language-gated mort and morx tables for pl, pl-PL, and en

@behdad
behdad requested a review from dfrg August 24, 2026 21:45
@behdad
behdad merged commit c4f98f5 into mort-shaping Aug 24, 2026
3 checks passed
@behdad
behdad deleted the aat-ltag branch August 24, 2026 21:52
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