Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
fixed FontAwesome5Pro Duotone issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thudugala committed Aug 21, 2019
1 parent e4ff682 commit 27c4eb2
Show file tree
Hide file tree
Showing 8 changed files with 2,098 additions and 2,083 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.4" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="All" />
<PackageReference Include="Plugin.Glypher" Version="1.0.1" />
<PackageReference Include="Plugin.Glypher" Version="1.1.0" />
</ItemGroup>
</Project>
858 changes: 429 additions & 429 deletions Source/Plugin.Glypher.FontAwesome5Pro/GlyphListBrands.cs

Large diffs are not rendered by default.

3,298 changes: 1,649 additions & 1,649 deletions Source/Plugin.Glypher.FontAwesome5Pro/GlyphListDuotone.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<Description>This plugin extend support for font glyphs (font icons) using FontAwesomePro in Xamarin.Forms applications.</Description>
<PackageIconUrl>https://raw.githubusercontent.com/thudugala/Plugin.Glypher/master/screenshots/fontAwesomeIcon.png</PackageIconUrl>
<Copyright>Copyright © Elvin (Tharindu) Thudugala</Copyright>
<Version>5.10.1.1</Version>
<Version>5.10.1.2</Version>
<PackageReleaseNotes>Check: https://github.com/thudugala/Plugin.Glypher/releases </PackageReleaseNotes>
<owners>ththlk</owners>

Expand All @@ -33,6 +33,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.4" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="All" />
<PackageReference Include="Plugin.Glypher" Version="1.0.1" />
<PackageReference Include="Plugin.Glypher" Version="1.1.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.4" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19367-01" PrivateAssets="All" />
<PackageReference Include="Plugin.Glypher" Version="1.0.1" />
<PackageReference Include="Plugin.Glypher" Version="1.1.0" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions sample/Direct/Sample.sln.DotSettings
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=Duotone/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Glypher/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
1 change: 1 addition & 0 deletions sample/Direct/Sample/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public App()
//ChangeFontName();

//GlyphRegister.Current.Init(typeof(Plugin.Glypher.FontAwesome5Pro.GlyphListBrands));
//GlyphRegister.Current.Init(typeof(Plugin.Glypher.FontAwesome5Pro.GlyphListDuotone));
//GlyphRegister.Current.Init(typeof(Plugin.Glypher.FontAwesome5Pro.GlyphListLight));
//GlyphRegister.Current.Init(typeof(Plugin.Glypher.FontAwesome5Pro.GlyphListRegular));
//GlyphRegister.Current.Init(typeof(Plugin.Glypher.FontAwesome5Pro.GlyphListSolid));
Expand Down
15 changes: 14 additions & 1 deletion sample/Direct/Sample/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,19 @@
TextColor="Purple"
VerticalOptions="CenterAndExpand" />

<!--<Grid HorizontalOptions="Center" VerticalOptions="CenterAndExpand">
<Label
glypher:FontGlyph.Glyph="{x:Static fontAwesome5Pro:GlyphListDuotone.Fad_Crow_Primary}"
FontSize="48"
HorizontalTextAlignment="Center"
TextColor="CornflowerBlue" />
<Label
glypher:FontGlyph.Glyph="{x:Static fontAwesome5Pro:GlyphListDuotone.Fad_Crow_Secondary}"
FontSize="48"
HorizontalTextAlignment="Center"
TextColor="Goldenrod" />
</Grid>-->

<Label
x:Name="Label1"
glypher:FontGlyph.Glyph="{x:Static fontAwesome5Free:GlyphListBrands.Fab_Bluetooth}"
Expand All @@ -91,7 +104,7 @@
<Image HorizontalOptions="Center" VerticalOptions="CenterAndExpand">
<Image.Source>
<FontImageSource
glypher:FontGlyph.Glyph="{x:Static fontAwesome5Free:GlyphListRegular.Far_Bell_Slash}"
glypher:FontGlyph.Glyph="{x:Static fontAwesome5Free:GlyphListRegular.Far_Address_Book}"
Size="48"
Color="Orange" />
</Image.Source>
Expand Down

0 comments on commit 27c4eb2

Please sign in to comment.