+
Skip to content

[Debg] fix parsing from XML; add roundtrip tests #3781

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

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Conversation

anthrotype
Copy link
Member

Fixes #3779

note this changes the ttx dump of 'Debg' table in that it wraps the CDATA block inside a <json> sub-element, which is required for the XMLReader to be able to parse it back from TTX.

Since parsing was silently broken until now, we shouldn't worry about backward compatibility but treat this as a bug fix.

It's also a private table which shouldn't be in production fonts so we are probably free to change as needed.

@anthrotype
Copy link
Member Author

anthrotype commented Feb 25, 2025

note, neither the API nor the binary serialization have changed, only the xml serialization

@anthrotype anthrotype merged commit c93b45b into main Feb 27, 2025
11 checks passed
@anthrotype anthrotype deleted the fix-Debg-ttx branch February 27, 2025 09: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.

Debg table not supported for ttx roundtrip
1 participant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载