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

[Text] Fix some text layout issues with ligatures that are being formed #16120

Merged
merged 2 commits into from
Jun 26, 2024

Conversation

Gillibald
Copy link
Contributor

@Gillibald Gillibald commented Jun 25, 2024

What does the pull request do?

This PR introduces some index validation for glyphInfos usage that makes sure we do run into index out of range exceptions

What is the current behavior?

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

Fixes: #14939

@Gillibald Gillibald added backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Jun 25, 2024
@Gillibald Gillibald changed the title [Text] Fix some text layout issues with ligatures that are being formed [WIP][Text] Fix some text layout issues with ligatures that are being formed Jun 25, 2024
@Gillibald Gillibald force-pushed the fixes/ligatureGlyphRunMetrics branch from 04ebf30 to 8241014 Compare June 26, 2024 06:49
@Gillibald Gillibald changed the title [WIP][Text] Fix some text layout issues with ligatures that are being formed [Text] Fix some text layout issues with ligatures that are being formed Jun 26, 2024
@avaloniaui-bot
Copy link

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

@maxkatz6 maxkatz6 enabled auto-merge June 26, 2024 07:18
@maxkatz6 maxkatz6 added this pull request to the merge queue Jun 26, 2024
Merged via the queue into AvaloniaUI:master with commit eb88221 Jun 26, 2024
10 checks passed
@JerryJian
Copy link
Contributor

@Gillibald Hi, will this fix be included in the version 11.0.x, thanks!

@Gillibald Gillibald deleted the fixes/ligatureGlyphRunMetrics branch July 22, 2024 07:28
@grokys grokys added backported-11.1.x and removed backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Aug 2, 2024
@grokys grokys added the bug label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-candidate-11.0.x Consider this PR for backporting to 11.0 branch backported-11.1.x bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typing fl or fi in a textbox crashes with Avalonia 11.0.10 on MacOS
5 participants