Skip to content

Add bindings for TextOptions - #502

Merged
Numpsy merged 1 commit into
fsprojects:masterfrom
Numpsy:text_options
Apr 22, 2026
Merged

Numpsy merged 1 commit into
fsprojects:masterfrom
Numpsy:text_options

Conversation

@Numpsy

@Numpsy Numpsy commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

Description

Avalonia 12 added a new 'TextOptions' class with text options related settings.

The existing TextRenderingMode property on RenderOptions was deprecated, and the TextOptions version is recommended instead. The old and new functions are implemented here as extensions on Visual, so moving textRenderingMode might be transparent to callers.

Related Issue

refs the warnings mentioned in #497 (comment)

Avalonia changes: AvaloniaUI/Avalonia#20107

@Numpsy
Numpsy requested a review from JaggerJo as a code owner April 16, 2026 19:55
@Numpsy
Numpsy merged commit 0bbd9c7 into fsprojects:master Apr 22, 2026
1 check passed
@Numpsy
Numpsy deleted the text_options branch April 22, 2026 13:54
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.

2 participants