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 FontFamily FallBack #4708

Closed
GihanSoft opened this issue Sep 21, 2020 · 12 comments
Closed

TextBox FontFamily FallBack #4708

GihanSoft opened this issue Sep 21, 2020 · 12 comments
Assignees
Labels

Comments

@GihanSoft
Copy link

GihanSoft commented Sep 21, 2020

Setting Font Family FallBack in WPF is like this (link)

<TextBlock FontFamily="Comic Sans MS, Verdana">Hello, world</TextBlock>

this not work in AvaloniaUI, instead this works:

<TextBlock FontFamily="'Comic Sans MS', 'Verdana'">Hello, world</TextBlock>

I tried in multi language fonts (Lucida Console & B Yekan)

@GihanSoft
Copy link
Author

this not work in AvaloniaUI, instead this works:

<TextBlock FontFamily="'Comic Sans MS', 'Verdana'">Hello, world</TextBlock>

This is not working either

@Gillibald Gillibald self-assigned this Sep 21, 2020
@Gillibald Gillibald added the bug label Sep 21, 2020
@Gillibald
Copy link
Contributor

How are you testing the fallback?

@GihanSoft
Copy link
Author

@Gillibald
Capture2
Capture3
Capture

@Gillibald
Copy link
Contributor

TextBox does not support any font fallback. This will change later this year.

@GihanSoft
Copy link
Author

I think if you set fallback for each char it will word

@Shayan-To
Copy link

TextBox does not support any font fallback. This will change later this year.

Is this done yet?

@Gillibald
Copy link
Contributor

#4893

@GihanSoft
Copy link
Author

#4893

I found out there is a thing named bidi or bidirectional engine you should proceed text before sending it to harfbuzz. For complex texts. You probably know this already.

@Shayan-To
Copy link

@Gillibald Any estimate of when this will be done?

@Gillibald
Copy link
Contributor

Somewhere in April. I don't have any free time at the moment. The current state is testable but still needs some major reworks.

@maxkatz6 maxkatz6 changed the title FontFamily FallBack TextBox FontFamily FallBack Feb 7, 2022
@Takoooooo
Copy link
Contributor

Fixed in #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

4 participants