{"id":12703,"date":"2020-04-23T11:00:57","date_gmt":"2020-04-23T19:00:57","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/vsnews\/?p=12703"},"modified":"2020-04-23T11:00:57","modified_gmt":"2020-04-23T19:00:57","slug":"aa88s1w","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/vsnews\/akams-aa88s1w\/","title":{"rendered":"Embedded Fonts: Custom Fonts in Xamarin.Forms"},"content":{"rendered":"<p class=\"\">There are a number of\u00a0<a href=\"https:\/\/blog.verslu.is\/xamarin\/xamarin-forms-xamarin\/using-custom-fonts-on-ios-and-android-with-xamarin-forms\/\" target=\"_blank\" rel=\"noopener noreferrer\">posts<\/a>\u00a0about\u00a0<a href=\"https:\/\/blog.verslu.is\/xamarin\/xamarin-forms-xamarin\/custom-fonts-with-xamarin-forms-revisited\/\" target=\"_blank\" rel=\"noopener noreferrer\">using custom fonts<\/a>\u00a0in Xamarin.Forms. However, embedded fonts definitely takes the cake. No more platform-specific handling of fonts and adding font files in three different projects. Just one file and an attribute in your shared code and your font is ready to go. In this post we will see how to use it in Xamarin.Forms 4.5.530 and up.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are a number of\u00a0posts\u00a0about\u00a0using custom fonts\u00a0in Xamarin.Forms. However, embedded fonts definitely takes the cake. No more platform-specific handling of fonts and adding font files in three different projects. Just one file and an attribute in your shared code and your font is ready to go. In this post we will see how to use [&hellip;]<\/p>\n","protected":false},"author":18258,"featured_media":8227,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-12703","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allskus"],"acf":[],"blog_post_summary":"<p>There are a number of\u00a0posts\u00a0about\u00a0using custom fonts\u00a0in Xamarin.Forms. However, embedded fonts definitely takes the cake. No more platform-specific handling of fonts and adding font files in three different projects. Just one file and an attribute in your shared code and your font is ready to go. In this post we will see how to use [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts\/12703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/users\/18258"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/comments?post=12703"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts\/12703\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/media\/8227"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/media?parent=12703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/categories?post=12703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/tags?post=12703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}