forked from unoplatform/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add font fallback support on Skia
- Loading branch information
1 parent
51a4e44
commit 03397f2
Showing
4 changed files
with
55 additions
and
28 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
...sApp/UITests.Shared/Windows_UI_Xaml_Controls/TextBlockControl/TextBlock_FontFallback.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<Page | ||
x:Class="UITests.Windows_UI_Xaml_Controls.TextBlockControl.TextBlock_FontFallback" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:UITests.Windows_UI_Xaml_Controls.TextBlockControl" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="d" | ||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
|
||
<StackPanel> | ||
<TextBlock Text="Sample Text - 示例文本 - اللغة العربية" FontWeight="Bold" FontSize="40" /> | ||
</StackPanel> | ||
</Page> |
13 changes: 13 additions & 0 deletions
13
...p/UITests.Shared/Windows_UI_Xaml_Controls/TextBlockControl/TextBlock_FontFallback.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using Uno.UI.Samples.Controls; | ||
using Windows.UI.Xaml.Controls; | ||
|
||
namespace UITests.Windows_UI_Xaml_Controls.TextBlockControl; | ||
|
||
[Sample("TextBlock", IsManualTest = true)] | ||
public sealed partial class TextBlock_FontFallback : Page | ||
{ | ||
public TextBlock_FontFallback() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters