You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I add two TextBlock in window, and use custom fonts. The Digiface FontFamily shows normally but the "思源黑体 CN Regular" shows not as what i want.
Is there any way to make "思源黑体 CN Regular" shows Alignment center?
The code is:
`
Describe the bug
I add two TextBlock in window, and use custom fonts. The Digiface FontFamily shows normally but the "思源黑体 CN Regular" shows not as what i want.
`Is there any way to make "思源黑体 CN Regular" shows Alignment center?
The code is:
`
To Reproduce
Fonts.zip
<TextBlock Background="Blue" Text="00:00" FontSize="20" FontFamily="avares://CommandCenter/Assets/Fonts/DIGITAL-REGULAR.TTF#Digiface" VerticalAlignment="Center" HorizontalAlignment="Center" TextAlignment="Center"/> <TextBlock Background="Blue" FontSize="20" FontFamily="avares://CommandCenter/Assets/Fonts/SourceHanSansCN-Regular.ttf#思源黑体 CN Regular" VerticalAlignment="Center" >Hello</TextBlock>
in any view.axaml files.3. Build and abserve the UI about “Hello”.
Expected behavior
No response
Avalonia version
11.2.1
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: