[Bug] SystemFont on IOS
AlleSchonWeg opened this issue · 2 comments
AlleSchonWeg commented
Description
The System Font on iOS is not working. It falls back to default. It is easy to see with the g char.
Steps to Reproduce
Try this simple Xaml:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:Forms9Patch="clr-namespace:Forms9Patch;assembly=Forms9Patch"
x:Class="Forms9LabelFontTest.MainPage">
<StackLayout>
<Label Text="Normal: ggg"
FontFamily=".SFUI"
FontSize="40" />
<Label Text="Semibold: ggg"
FontFamily=".SFUI-Semibold"
FontSize="40" />
<Forms9Patch:Label FontFamily=".SFUI"
FontSize="40"
Text="Normal: ggg" />
<Forms9Patch:Label FontFamily=".SFUI-Semibold"
FontSize="40"
Text="Semibold: ggg" />
</StackLayout>
</ContentPage>
Expected Behavior
Forms9 Label should use SFUI Font.
Actual Behavior
Forms9 Label use default Font.
Basic Information
- Version with issue: 2.4.7
- Last known good version: -
- IDE: VS 2019
- Platform Target Frameworks:
- iOS:
- Android:
- UWP:
- Android Support Library Version:
- Nuget Packages:
- Affected Devices:
Screenshots
Reproduction Link - a link to a small demo project that reproduces this issue
Workaround
AlleSchonWeg commented
Demo:
Forms9LabelFontTest.zip
baskren commented
Fixed in version 2.4.8