Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit e14b621

Browse files
committed
Embedded fonts work in 4.5 SR3.
1 parent fbe2c7f commit e14b621

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

WorkingWithFonts/Android/Resources/Resource.designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

WorkingWithFonts/Android/WorkingWithFonts.Android.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<ConsolePause>false</ConsolePause>
3939
</PropertyGroup>
4040
<ItemGroup>
41-
<PackageReference Include="Xamarin.Forms" Version="4.5.0.396" />
41+
<PackageReference Include="Xamarin.Forms" Version="4.5.0.530" />
4242
</ItemGroup>
4343
<ItemGroup>
4444
<Reference Include="System" />

WorkingWithFonts/UWP/WorkingWithFonts.UWP.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
</PropertyGroup>
9090
<ItemGroup>
9191
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.0.12" />
92-
<PackageReference Include="Xamarin.Forms" Version="4.5.0.396" />
92+
<PackageReference Include="Xamarin.Forms" Version="4.5.0.530" />
9393
</ItemGroup>
9494
<ItemGroup>
9595
<Compile Include="App.xaml.cs">

WorkingWithFonts/WorkingWithFonts/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
using Xamarin.Forms.Xaml;
33

44
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
5-
[assembly: ExportFont("Lobster-Regular.ttf")]
5+
[assembly: ExportFont("Lobster-Regular.ttf", Alias = "Lobster")]

WorkingWithFonts/WorkingWithFonts/FontPageCs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public FontPageCs()
99
var label = new Label
1010
{
1111
Text = "Hello, Xamarin.Forms!",
12-
FontFamily = "Lobster-Regular",
12+
FontFamily = "Lobster",
1313
VerticalOptions = LayoutOptions.CenterAndExpand,
1414
HorizontalOptions = LayoutOptions.CenterAndExpand
1515
};

WorkingWithFonts/WorkingWithFonts/FontPageXaml.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<StackLayout VerticalOptions = "CenterAndExpand"
66
HorizontalOptions="CenterAndExpand">
77
<Label Text="Hello Forms with XAML"
8-
FontFamily="Lobster-Regular" />
8+
FontFamily="Lobster" />
99

1010
<StackLayout Orientation="Horizontal">
1111
<Label Text="Italics"

WorkingWithFonts/WorkingWithFonts/WorkingWithFonts.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Xamarin.Forms" Version="4.5.0.396" />
12+
<PackageReference Include="Xamarin.Forms" Version="4.5.0.530" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

WorkingWithFonts/iOS/WorkingWithFonts.iOS.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
9898
</PropertyGroup>
9999
<ItemGroup>
100-
<PackageReference Include="Xamarin.Forms" Version="4.5.0.396" />
100+
<PackageReference Include="Xamarin.Forms" Version="4.5.0.530" />
101101
</ItemGroup>
102102
<ItemGroup>
103103
<Reference Include="System" />

0 commit comments

Comments
 (0)