-
Notifications
You must be signed in to change notification settings - Fork 760
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac0c34e
commit e869192
Showing
18 changed files
with
574 additions
and
75 deletions.
There are no files selected for viewing
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
35 changes: 35 additions & 0 deletions
35
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Media/FontTests/DynamicFont.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,35 @@ | ||
<Page | ||
x:Class="UITests.Windows_UI_Xaml_Media.FontTests.DynamicFont" | ||
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_Media.FontTests" | ||
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 Spacing="20"> | ||
<Border BorderBrush="Blue" BorderThickness="3" HorizontalAlignment="Left"> | ||
<TextBlock FontSize="20" FontFamily="msappx:///Assets/Fonts/Even Badder Mofo.ttf#EvenBadderMofo">(ms-appx) This is a test</TextBlock> | ||
</Border> | ||
<Border BorderBrush="Blue" BorderThickness="3" HorizontalAlignment="Left"> | ||
<TextBlock FontSize="20" FontFamily="msappx:///Assets/Fonts/FamilyGuy-4grW.ttf">(ms-appx) This is a test</TextBlock> | ||
</Border> | ||
<Border BorderBrush="Blue" BorderThickness="3" HorizontalAlignment="Left"> | ||
<TextBlock FontSize="20" FontFamily="msappx:///Assets/Fonts/Nillambari-K7y1W.ttf">(ms-appx) This is a test</TextBlock> | ||
</Border> | ||
<Border BorderBrush="Blue" BorderThickness="3" HorizontalAlignment="Left"> | ||
<TextBlock FontSize="20" FontFamily="https://fonts.cdnfonts.com/s/71084/antikythera.woff">(https) This is a test rendering a string using external uri. [WASM ONLY]</TextBlock> | ||
</Border> | ||
<Border BorderBrush="Blue" BorderThickness="3" HorizontalAlignment="Left"> | ||
<TextBlock FontSize="20" FontFamily="https://fonts.cdnfonts.com/s/71084/antikytheraoutlineital.woff">(https) This is a test rendering a string using external uri. [WASM ONLY]</TextBlock> | ||
</Border> | ||
<Border BorderBrush="Blue" BorderThickness="3" HorizontalAlignment="Left"> | ||
<TextBlock FontSize="20" FontFamily="https://fonts.cdnfonts.com/s/71084/antikytheraoutline.woff">(https) This is a test rendering a string using external uri. [WASM ONLY]</TextBlock> | ||
</Border> | ||
<Border BorderBrush="Blue" BorderThickness="3" HorizontalAlignment="Left"> | ||
<TextBlock FontSize="20" FontFamily="https://fonts.cdnfonts.com/s/73485/GALACTIC%20VANGUARDIAN%20NCV.woff">(https) This is a test rendering a string using external uri. [WASM ONLY]</TextBlock> | ||
</Border> | ||
|
||
</StackPanel> | ||
</Page> |
14 changes: 14 additions & 0 deletions
14
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Media/FontTests/DynamicFont.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,14 @@ | ||
using Windows.UI.Xaml.Controls; | ||
using Uno.UI.Samples.Controls; | ||
|
||
namespace UITests.Windows_UI_Xaml_Media.FontTests | ||
{ | ||
[Sample] | ||
public partial class DynamicFont : Page | ||
{ | ||
public DynamicFont() | ||
{ | ||
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
Oops, something went wrong.