This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced the "Segoe MDL2 Assets" font with a newer one on build time.
- Loading branch information
Showing
6 changed files
with
16 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -291,3 +291,4 @@ __pycache__/ | |
*.odx.cs | ||
*.xsd.cs | ||
/UWPX_UI/Assets/Fonts/seguiemj.ttf | ||
/UWPX_UI/Assets/Fonts/segmdl2.ttf |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
|
||
<!-- Replace the default windows Emoji font with a newer one for older devices so all get the new Emoji: --> | ||
<!-- Replace the default Windows Segoe UI Emoji font with a newer one for older devices so all get the new Emoji. --> | ||
<FontFamily x:Key="ContentControlThemeFontFamily">ms-appx:///Assets/Fonts/seguiemj.ttf#Segoe UI Emoji,XamlAutoFontFamily</FontFamily> | ||
<!-- Replace the default Windows Segoe MDL2 Assets font with a newer one for older devices so all symbols are able to be displayed. --> | ||
<FontFamily x:Key="SymbolThemeFontFamily">ms-appx:///Assets/Fonts/segmdl2.ttf#Segoe MDL2 Assets</FontFamily> | ||
</ResourceDictionary> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
$solPath = $args[0] | ||
|
||
if (Test-Path "env:RunningCI") { | ||
Write-Output "Skipping font import." | ||
exit 0 | ||
} | ||
|
||
Write-Output "Copying font 'Segoe UI Emoji' (seguiemj.ttf)..." | ||
cp -force C:\Windows\Fonts\seguiemj.ttf $solPath\Assets\Fonts\seguiemj.ttf | ||
Write-Output "Font copied" | ||
|
||
Write-Output "Copying font 'Segoe MDL2 Assets' (segmdl2.ttf)..." | ||
cp -force C:\Windows\Fonts\segmdl2.ttf $solPath\Assets\Fonts\segmdl2.ttf | ||
Write-Output "Font copied" |
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