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

[font] expose LoadHeadTable #163

Merged
merged 1 commit into from
May 2, 2024
Merged

[font] expose LoadHeadTable #163

merged 1 commit into from
May 2, 2024

Conversation

benoitkugler
Copy link
Contributor

When you want to process a font file, you have to parse the 'head' table first. The issue is that some macos bitmap fonts use the 'bhed' table instead.
We use an helper function loadHeadTable to handle this complexity. It may be used by libraries which want to manually inspect a font file, but it was hidden in #130 by mistake.

This PR fixes the issue and exposes this helper back.

This is backward compatible, with no changes for GUI toolkits end users.

@whereswaldon whereswaldon merged commit d9a73b1 into main May 2, 2024
20 checks passed
@whereswaldon whereswaldon deleted the expose-LoadHead branch May 2, 2024 14:51
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.

3 participants