Skip to content

Commit

Permalink
feat: Hide default font name for SystemFontProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
Jklawreszuk committed Jul 13, 2024
1 parent 3797e5d commit 1d5f23f
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 24 deletions.
2 changes: 0 additions & 2 deletions samples/Games/JumpyJet/Assets/Shared/Font.sdfnt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ Id: f10885f3-72a0-469e-9ba2-6ca635fee4e7
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Regular
FontType: !RuntimeRasterizedSpriteFontType {}
2 changes: 0 additions & 2 deletions samples/Games/SpaceEscape/Assets/Shared/Font.sdfnt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ Id: aa317d9b-bbd3-4240-9ad6-11efad9c4d4d
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Regular
FontType: !RuntimeRasterizedSpriteFontType {}
2 changes: 0 additions & 2 deletions samples/Graphics/SpriteFonts/Assets/Shared/AliasedFont.sdfnt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Id: 5376e512-4179-43b6-9d7c-75b0a1ea6f9c
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Regular
FontType: !OfflineRasterizedSpriteFontType
Size: 40.0
CharacterSet: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Id: 5b5f75d3-4f7f-4325-b957-fd50161e104c
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Regular
FontType: !OfflineRasterizedSpriteFontType
Size: 40.0
CharacterSet: null
Expand Down
1 change: 0 additions & 1 deletion samples/Graphics/SpriteFonts/Assets/Shared/BoldFont.sdfnt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Id: 4f741cf1-f3b2-4eda-837b-e29f8597c47d
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Bold
FontType: !RuntimeRasterizedSpriteFontType
Size: 22.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Id: bdc10dde-cc94-45e6-88ee-bd5fe156f982
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Regular
FontType: !OfflineRasterizedSpriteFontType
Size: 40.0
CharacterSet: null
Expand Down
2 changes: 0 additions & 2 deletions samples/Graphics/SpriteFonts/Assets/Shared/DynamicFont.sdfnt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ Id: cbbbd736-43d0-490e-b3e4-28207140d6cc
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Regular
FontType: !RuntimeRasterizedSpriteFontType
Size: 22.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Id: 5fad01ad-2649-4de9-8a81-b117e320a2ef
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Italic
FontType: !RuntimeRasterizedSpriteFontType
Size: 22.0
2 changes: 0 additions & 2 deletions samples/Graphics/SpriteFonts/Assets/Shared/StaticFont.sdfnt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ Id: b6582bd2-276e-4b0e-a0f1-8682e271ab59
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Regular
FontType: !OfflineRasterizedSpriteFontType
Size: 36.0
CharacterSet: null
Expand Down
2 changes: 0 additions & 2 deletions samples/Input/GravitySensor/Assets/Shared/SpriteFont.sdfnt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ Id: e69c3c0c-baca-4e05-9c03-a3f95cdeb5ed
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Regular
FontType: !RuntimeRasterizedSpriteFontType
Size: 21.33333
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static SpriteFontAsset Create()
{
return new SpriteFontAsset
{
FontSource = new SystemFontProvider("Arial"),
FontSource = new SystemFontProvider(),
FontType = new OfflineRasterizedSpriteFontType()
{
CharacterRegions = { new CharacterRegion(' ', (char)127) }
Expand All @@ -31,7 +31,7 @@ public static SpriteFontAsset Create()
{
return new SpriteFontAsset
{
FontSource = new SystemFontProvider("Arial"),
FontSource = new SystemFontProvider(),
FontType = new RuntimeRasterizedSpriteFontType(),
};
}
Expand All @@ -48,7 +48,7 @@ public static SpriteFontAsset Create()
{
return new SpriteFontAsset
{
FontSource = new SystemFontProvider("Arial"),
FontSource = new SystemFontProvider(),
FontType = new SignedDistanceFieldSpriteFontType()
{
CharacterRegions = { new CharacterRegion(' ', (char)127) }
Expand Down
2 changes: 0 additions & 2 deletions sources/engine/Stride.Engine.Tests/GameAssets/Font.sdfnt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@ Id: e3beb255-7a4c-46a6-8f8a-65703d344614
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Arial
Style: Regular
FontType: !RuntimeRasterizedSpriteFontType
Size: 16.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Id: c90f3988-0544-4cbe-993f-13af7d9c23c6
SerializedVersion: {Stride: 2.0.0.0}
Tags: []
FontSource: !SystemFontProvider
FontName: Courier New
Style: Bold
FontType: !RuntimeRasterizedSpriteFontType
Size: 10.66666

0 comments on commit 1d5f23f

Please sign in to comment.