Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
When we create a button or label in Xamarin Forms and set a new FontFamily, the font fails to load. It works on iOS, and we have had to write our own CustomFontLabel to get around this. Perhaps our folder structure is not set up properly? These fonts are in Assets/Fonts
We have to make our own custom class with a custom renderer in order to load these fonts.
if(label != null && originalLabel != null)
Typeface font = Typeface.CreateFromAsset (Forms.Context.Assets, Styles.FontOpenSansBold);
label.Typeface = font;
public static readonly string FontOpenSansBold = Device.OnPlatform(/* iOS */ "OpenSans-Bold", /* Android */ "Fonts/OpenSans-Bold.ttf", /* WindowsPhone */ null);
Hi Andy, Xamarin.Forms for Android does not currently expose the ability to set the font to a custom font file, so custom renderers are required. So this is a known limitation.
This is also documented here :
Xamarin Forms team
Is this issue fixed in latest upgrade?