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

[subset] When serializing GDEF ensure that varstore is packed last. #4640

Merged
merged 5 commits into from
Mar 29, 2024

Conversation

garretrieger
Copy link
Collaborator

@garretrieger garretrieger commented Mar 27, 2024

Fixes #4636. Some font consumers expect that varstore will run until the end of the GDEF table. Use virtual links to ensure that the repacker will not move the varstore table from the end.

src/OT/Layout/GDEF/GDEF.hh Outdated Show resolved Hide resolved
src/hb-serialize.hh Outdated Show resolved Hide resolved
src/hb-serialize.hh Outdated Show resolved Hide resolved
src/hb-serialize.hh Outdated Show resolved Hide resolved
src/hb-serialize.hh Outdated Show resolved Hide resolved
@garretrieger garretrieger marked this pull request as ready for review March 29, 2024 00:19
@behdad behdad merged commit 5b34058 into harfbuzz:main Mar 29, 2024
22 checks passed
@garretrieger garretrieger deleted the gdef branch April 15, 2024 18:56
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.

Packing of ItemVariationStore breaks GDEF table on InDesign CC2023
2 participants