Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the 'kern' table #1192

Open
wants to merge 2 commits into
base: search-range
Choose a base branch
from
Open

Add support for the 'kern' table #1192

wants to merge 2 commits into from

Conversation

cmyr
Copy link
Member

@cmyr cmyr commented Oct 19, 2024

This supports only the kern0 subtable type, and we should probably add a nice builder to make this a bit easier.

this is based off of #1191, which should go in first.

This is shared in a few places, so it makes sense to have a single
implementation. (It is used in the kern table, which is coming up)
This supports only the kern0 subtable type, and we should probably add a
nice builder to make this a bit easier.
///// The different kern subtable formats.
//format u16 KernSubtable {
//Format0(Kern0),
//// Nope.
Copy link
Collaborator

Choose a reason for hiding this comment

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

lol ... explain why? Even just note we're starting simple?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Just noticed #1183 (comment) has some good reasons, "Windows only supports format 0, and FontTools does not know of it either. FontTools also mentions a "new" Apple-specific format kern table (not subtable) with version 1.0 and completely different structures." ... should we mention 1 as well?

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