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

TextBox cannot fallback to system default font automatically #5962

Open
hez2010 opened this issue May 21, 2021 · 1 comment
Open

TextBox cannot fallback to system default font automatically #5962

hez2010 opened this issue May 21, 2021 · 1 comment
Labels

Comments

@hez2010
Copy link
Contributor

hez2010 commented May 21, 2021

Describe the bug
If I use Avalonia with CJK locales without specifying FontFamily explicitly, it won't fallback to system locale default font if I input an unsupported character.

To Reproduce

  1. Switch to CJK locale and create a TextBox in Avalonia without specifying FontFamily.
  2. Input some CJK characters. (eg. テスト, 测试)

Expected behavior
CJK characters are automatically fallback to the default font based on System settings.

Screenshots
image

Desktop

  • OS: Windows 10
  • Version: 10.0.5
@hez2010 hez2010 added the bug label May 21, 2021
@hez2010 hez2010 changed the title Cannot fallback to system default font automatically TextBox cannot fallback to system default font automatically May 21, 2021
@Gillibald
Copy link
Contributor

Gillibald commented May 21, 2021

There is no font fallback support for the current TextBox implementation

#4893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants