Skip to content

Add minimal support for GDEF version 1.3#5584

Merged
iorsh merged 1 commit intofontforge:masterfrom
khaledhosny:gdef-1.3
Jul 20, 2025
Merged

Add minimal support for GDEF version 1.3#5584
iorsh merged 1 commit intofontforge:masterfrom
khaledhosny:gdef-1.3

Conversation

@khaledhosny
Copy link
Copy Markdown
Contributor

Instead of checking the full version number and rejecting any new versions, check for major version number since new minor versions add new fields but do not change existing ones.

This allows loading glyph classes etc from GDEF version 1.3, while ignoring item variation sore as OpenType variations in general are not supported by FontForge

Type of change

  • Non-breaking change

Instead of checking the full version number and rejecting any new versions,
check for major version number since new minor versions add new fields
but do not change existing ones.

This allows loading glyph classes etc from GDEF version 1.3, while
ignoring item variation sore as OpenType variations in general are not
supported by FontForge

Also report when unsupported table version is seen, instead of silently
ignoring it.
Copy link
Copy Markdown
Contributor

@iorsh iorsh left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@iorsh iorsh merged commit 2d4ccf0 into fontforge:master Jul 20, 2025
7 checks passed
@khaledhosny khaledhosny deleted the gdef-1.3 branch July 20, 2025 08:25
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