MFractor should detect when a font asset (otf or ttf) is added to a Xamarin.FOrms core project and, if the project uses XF 4.6 or higher, it should trigger a toolbar suggestion to offer to add it as an embedded font.
Upon confirmation the feature should:
Set the build action to EmbeddedResource.
Add the ExportFont assembly attribute.
[Optional] Generate a code behind file containing all glyphs.
Required infrastructure:
IExportFontAttributeGenerator -> Generates an [assembly: Xamarin.Forms.ExportFont("$file_name$")] attribute.
Workflow assistant to watch for new font assets added to a project.
MFractor should detect when a font asset (otf or ttf) is added to a Xamarin.FOrms core project and, if the project uses XF 4.6 or higher, it should trigger a toolbar suggestion to offer to add it as an embedded font.
Upon confirmation the feature should:
EmbeddedResource
.Required infrastructure:
[assembly: Xamarin.Forms.ExportFont("$file_name$")]
attribute.