This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug][iOS] Custom font not rendered when Label.TextType="Html" #10588
Labels
a/embedded fonts
a/label
in-progress
This issue has an associated pull request that may resolve it!
t/bug 🐛
Comments
Refering on #2802 bug, my assemblyinfo file is currently using an alias like this: [assembly: ExportFont("CircularStd-Bold.ttf", Alias = "FontStdBold")] |
We have faced a similar issue (probably the same) on one iOS project and pulled together a sample to reproduce the issue. Basically the issue is reproduced even without using a custom font, even basic attributes are not applied (e.g. The sample project is below: |
hartez
added a commit
that referenced
this issue
Jun 8, 2020
2 tasks
hartez
added
the
in-progress
This issue has an associated pull request that may resolve it!
label
Jun 9, 2020
Waiting for this one to be fixed. Very important for my project. :( |
hartez
added a commit
that referenced
this issue
Jun 20, 2020
rmarinho
pushed a commit
that referenced
this issue
Jun 22, 2020
bmacombe
pushed a commit
to bmacombe/Xamarin.Forms
that referenced
this issue
Jul 7, 2020
…marin#10989) fixes xamarin#10588 * Ensure that TextColor, and Font apply to HTML Labels on iOS Fixes xamarin#10588 * More tests; handle situations where Forms properties are not set;
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
a/embedded fonts
a/label
in-progress
This issue has an associated pull request that may resolve it!
t/bug 🐛
Description
The following code uses a custom font, registered with the
ExportFont
attribute, and works perfectly:However, when the
TextType
property is set toHtml
, the custom font isn't rendered on iOS:Steps to Reproduce
Expected Behavior
"Hello Forms with XAML" is rendered using the custom font.
Actual Behavior
"Hello Forms with XAML" is rendered using the default (plain) font.
Basic Information
Reproduction Link
WorkingWithFonts.zip
The text was updated successfully, but these errors were encountered: