Skip to content

fix: enhance accent layout for shifty accents and improve glyph skew handling#2

Merged
erweixin merged 1 commit intomainfrom
fix-hat
Mar 13, 2026
Merged

fix: enhance accent layout for shifty accents and improve glyph skew handling#2
erweixin merged 1 commit intomainfrom
fix-hat

Conversation

@erweixin
Copy link
Copy Markdown
Owner

  • Updated layout_accent function to incorporate is_shifty parameter for better positioning of accents over italicized characters.
  • Introduced glyph_skew function to calculate the skew of the innermost glyph, ensuring accurate horizontal centering of shifty accents.
  • Added new test cases for various accent scenarios to validate the changes.

…handling

- Updated layout_accent function to incorporate is_shifty parameter for better positioning of accents over italicized characters.
- Introduced glyph_skew function to calculate the skew of the innermost glyph, ensuring accurate horizontal centering of shifty accents.
- Added new test cases for various accent scenarios to validate the changes.
@erweixin erweixin merged commit 9cd30c5 into main Mar 13, 2026
1 check passed
@erweixin erweixin deleted the fix-hat branch March 16, 2026 06:17
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.

1 participant