Home

Awesome

Using Xamarin Embedded fonts and Font Image Source, What this plugging was trying to achieve can be achieved now.

https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/text/fonts#use-a-custom-font https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/text/fonts#display-font-icons

If you are using Xamarin.Forms 4.5.0.530 below version, it still make sense to use this pluging.

<img src="screenshots/icon.png" alt="icon" width="64px" >

Build status

Plugin.Glypher

This plugin extend support for font glyphs (font icons) in Xamarin.Forms applications.

Usage

xmlns:fontAwesome5Free="clr-namespace:Plugin.Glypher.FontAwesome5Free;assembly=Plugin.Glypher.FontAwesome5Free"
xmlns:glypher="clr-namespace:Plugin.Glypher;assembly=Plugin.Glypher"

<Label glypher:FontGlyph.Glyph="{x:Static fontAwesome5Free:GlyphListBrand.Fab_Bluetooth}"
       FontSize="Large"
       TextColor="CornflowerBlue" />
       
<Button glypher:FontGlyph.Glyph="{x:Static fontAwesome5Free:GlyphListBrand.Fab_Bitcoin}"
        FontSize="Large"
        TextColor="IndianRed" />

<Image>
    <Image.Source>
        <FontImageSource Size="32" 
                         Color="Orange" 
                         glypher:FontGlyph.Glyph="{x:Static fontAwesome5Free:GlyphListRegular.Far_Bell_Slash}" />
    </Image.Source>
</Image>

Setup

Plugin.Glypher is not required to be reference if using any other package.

PackageWikiNugetAndroidiOS
Plugin.Glypher.FontAwesome5FreeFont Awesome 5 FreeNuGetYesYes
Plugin.Glypher.FontAwesome5ProFont Awesome 5 ProNuGetYesYes
Plugin.Glypher.WeatherIconsWeather IconsNuGetYesYes

Screenshots

AndroidiOS
<img src="screenshots/android.png" alt="android" width="512px" ><img src="screenshots/iOS.png" alt="ios" width="512px" >

SourceLink Support

In Visual Studio, confirm that SourceLink is enabled. Also, Turn off "Just My Code" since, well, this isn't your code.

https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/sourcelink

Contributing

Contributions are welcome. Feel free to file issues and pull requests on the repo and they'll be reviewed as time permits.

Icon

Thank you for the Icons by Yannick Lung, Stephen Hutchings