Skip to content

Drop unread CharCluster::form field#687

Merged
tomcur merged 1 commit into
linebender:mainfrom
tomcur:push-sywopkomnzqy
Jul 13, 2026
Merged

Drop unread CharCluster::form field#687
tomcur merged 1 commit into
linebender:mainfrom
tomcur:push-sywopkomnzqy

Conversation

@tomcur

@tomcur tomcur commented Jul 13, 2026

Copy link
Copy Markdown
Member

This is vestigial: I believe it used to be passed to swash, but is no longer used since the switch to harfrust.

harfrust also does this check itself, and we only check for the font coverage calculation, so I think it's unlikely that with our current architecture this field would ever need to be exposed in the API.

There's one more vestigial field (Char::glyph_id), but that touches a bit more, so I'll open a separate PR for it.

This is vestigial: I believe it used to be passed to `swash`, but is no
longer used since the switch to `harfrust`.

`harfrust` does this check itself, and we only check for the font
coverage calculation, so I think it's unlikely that with our current
architecture this field would ever need to be exposed in the API.
@tomcur tomcur added this pull request to the merge queue Jul 13, 2026
Merged via the queue into linebender:main with commit 0b6cd51 Jul 13, 2026
24 checks passed
@tomcur tomcur deleted the push-sywopkomnzqy branch July 13, 2026 20:49
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