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

Fix HorizontalHeadTable usage #16064

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

Gillibald
Copy link
Contributor

@Gillibald Gillibald commented Jun 19, 2024

What does the pull request do?

Change HorizontalHeadTable.Load so it can return null if the table isn't present and handle that case in the GlyphTypefaceImpl

What is the current behavior?

Some fonts do not have a HorizontalHeadTable and therefore produce an exception when we try to load such font.

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0049152-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@grokys grokys added this pull request to the merge queue Jun 25, 2024
@maxkatz6 maxkatz6 removed this pull request from the merge queue due to a manual request Jun 25, 2024
@maxkatz6 maxkatz6 added bug backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Jun 25, 2024
@maxkatz6 maxkatz6 merged commit 1eb3a5c into AvaloniaUI:master Jun 25, 2024
11 checks passed
@maxkatz6 maxkatz6 removed the backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants