Skip to content

FontFamily Exception:Value cannot be null. (Parameter 'name') #12190

Closed
@plmm016

Description

@plmm016

Describe the bug
Some fonts may cause the app flash back,such as "小徐1599"

To Reproduce
TextBlock.Text = '小徐1599' or TextBox.Text = '小徐1599' or SelectableTextBlock..Text = '小徐1599'

Expected behavior
App don't flash back, and show fallback font with default string such as "小徐1599"

Screenshots
Exception Logs:
image
Fonts work fine in web:
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: Avalonia 11.0.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions