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.
Description of Problem:
I'm porting a java android app to MFA, but fount out that creating of custom font using below code is throwing error:
var lcdFont = Typeface.CreateFromAsset(Assets, "fonts/lcd2mono.ttf");
The same code is working in Java using Eclipse, and I also verified that the font file is valid
Steps to reproduce the problem:
1. Create a MFA app, put lcd2mono.ttf into Assets/fonts folder
2. Load custom font from assets
Throw runtime error saying Native typeface can not be made
Everything is fine
How often does this happen?
I'm using it on Win8 RP with MonoDevelop 220.127.116.11 and MFA 4.2.6 and SDK 2.1, but I also tried with SDK 2.2 and 2.3.3, none of which work. Also the java android app is using 2.1.
Sorry, it seems that the issue with this is my stupidity ---- I forgot to include the font file in the project. It is showing up in the project tree only because I choose to show all files. Anyway, fixed. Sorry for the false alert
No worries, closing,