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

Can i set two fonts in a textbox? #7283

Closed
RunMonkey opened this issue Dec 30, 2021 · 1 comment
Closed

Can i set two fonts in a textbox? #7283

RunMonkey opened this issue Dec 30, 2021 · 1 comment

Comments

@RunMonkey
Copy link

I have an application scenario where I can input some special characters. I must load the special character font (there are only special characters here). These characters are not in normal fonts,

I set FontFamily = "Arial, specialfont" to display normal characters but not special characters;

Set FontFamily = "specialfont, Arial" to display special characters, but normal characters cannot be displayed.

In WPF, setting FontFamily = "Arial, specialfont" can all display normally. Can it be supported in Avalonia? Is there any way to achieve it?
twofonts

@Gillibald
Copy link
Contributor

The TextBox currently doesn't support font fallback this feature will be added in january
Duplicate of: #4708

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

No branches or pull requests

2 participants