Skip to content

Allow xadvance 0 for combining marks and format characters - #11

Merged
vtxe02023274 merged 1 commit into
mainfrom
fix/check-zero-advance
Oct 20, 2026
Merged

vtxe02023274 merged 1 commit into
mainfrom
fix/check-zero-advance

Conversation

@vtxe02023274

Copy link
Copy Markdown
Owner

checkFont warned about xadvance 0 for every character except U+200B, although combining marks and joiners such as U+0301 and U+200D are meant to take no room. The warning for xadvance 0 now skips combining marks and format characters, and negative values are always reported. Fixes #6

@vtxe02023274
vtxe02023274 force-pushed the fix/check-zero-advance branch from a019806 to 33c5179 Compare October 20, 2026 13:27
@vtxe02023274
vtxe02023274 merged commit 27e64a4 into main Oct 20, 2026
4 checks passed
@vtxe02023274
vtxe02023274 deleted the fix/check-zero-advance branch October 20, 2026 13:48
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.

checkFont warns about xadvance 0 for combining marks and joiners

1 participant