Skip to content

Improve contextual fraction shaping#109

Open
devs6186 wants to merge 1 commit into
RedHatOfficial:masterfrom
devs6186:fix/issue-88-contextual-fractions
Open

Improve contextual fraction shaping#109
devs6186 wants to merge 1 commit into
RedHatOfficial:masterfrom
devs6186:fix/issue-88-contextual-fractions

Conversation

@devs6186

Copy link
Copy Markdown

Summary

  • Reworks the proportional frac feature so whole numbers stay as default figures.
  • Keeps existing standalone precomposed fractions and uses contextual numerator/denominator shaping for multi-digit fractions.
  • Regenerates proportional OTF, TTF, variable, and WOFF2 outputs.

Verification

  • gftools builder sources/config.yaml
  • Focused HarfBuzz shaping check for 123, 1/2, 12/34, and 123/456 on representative proportional TTF, OTF, and variable fonts.

FontBakery note: the current upstream baseline is already red under the available WSL FontBakery environment. A local upstream-vs-change comparison during prep found no new FAIL or ERROR results introduced by the prepared changes.

Closes #88

Copilot AI review requested due to automatic review settings June 26, 2026 19:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

Provide a better fraction implementation

2 participants