Skip to content

Commit

Permalink
v2.0.0 (#10)
Browse files Browse the repository at this point in the history
* fixed duotone symbols by switching otf fonts to ttf, because of ligature hyphen problem

* switchted otf to ttf

* removed Font-Awesome submodule

* fixed submodule and otfs

* fixed otfs font bugs

Co-authored-by: Martin Topfstedt <[email protected]>
  • Loading branch information
Codinion and Martin Topfstedt authored Apr 23, 2022
1 parent 5e938f2 commit 6a44470
Show file tree
Hide file tree
Showing 28 changed files with 609 additions and 588 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 2.0.0
- BREAKING CHANGE: FontAweseom6.Fonts.Pro: You need to switch from otf fonts to ttf fonts files.
- fixed duotone icons, not working with otf files anymore.
# 1.2.0
- updated to Font-Awesome 6.1.1
# 1.1.0
Expand Down
2 changes: 1 addition & 1 deletion Font-Awesome
Submodule Font-Awesome updated 10499 files
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ See example projects for advanced usage.

2. Activate the Pro Version check box

3. Source Dictionary:
3. Source Dictionary: not needed

4. FontAwesome Svg Directory: the directory of all FontAwesome Svg files. e.x. Font-Awesome-Pro/svgs

Expand All @@ -173,15 +173,15 @@ See example projects for advanced usage.

### FontAwesome6.Pro.Fonts

>The FontAwesome6.Pro.Fonts NuGet package does not include any font files. You need to provide the FontAwesome6 Pro otf files by yourself. (see Installation)
>The FontAwesome6.Pro.Fonts NuGet package does not include any font files. You need to provide the FontAwesome6 Pro ttf files by yourself. (see Installation)
#### Installation

1. Install the FontAwesome6.Pro.Fonts package: `Install-Package FontAwesome6.Pro.Fonts`

2. Download the Desktop Version of FontAwesome6 from the website: https://fontawesome.com/download
2. Download the Web Version of FontAwesome6 from the website: https://fontawesome.com/download

3. Include all needed FontAwesome6 Style otf files(ex: *Font Awesome 6 Pro-Solid-900.otf*) inside you project as "Content" and "Copy always".
3. Include all needed FontAwesome6 Style ttf files(ex: *fa-regular-400*) inside you project as "Content" and "Copy always".

4. Proceed with the setup

Expand Down
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<RootNamespace>FontAwesome6.Example.WPF</RootNamespace>
<Configurations>Debug;Release;DebugPro;ReleasePro</Configurations>
<XamlDebuggingInformation>true</XamlDebuggingInformation>
</PropertyGroup>

<Import Project="..\FontAwesome6.Example.WPF.Shared\FontAwesome6.Example.WPF.Shared.projitems" Label="Shared" />

<ItemGroup>
<PackageReference Include="PropertyChanged.Fody" Version="3.4.0" />
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)'=='DebugPro'">
<DefineConstants>TRACE;FontAwesomePro</DefineConstants>
<XamlDebuggingInformation>true</XamlDebuggingInformation>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='ReleasePro'">
<DefineConstants>TRACE;FontAwesomePro</DefineConstants>
</PropertyGroup>

<ItemGroup Condition="'$(Configuration)'=='DebugPro' Or '$(Configuration)'=='ReleasePro'">
<EmbeddedResource Include="..\..\generated\Font-Awesome-Pro\FontAwesomeSvg.all.json" Link="Svg\FontAwesomeSvg.all.json" />
<Content Include="..\..\Font-Awesome-Pro\otfs\Font Awesome 6 Pro-Solid-900.otf" Link="Fonts/Font Awesome 6 Pro-Solid-900.otf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Font-Awesome-Pro\otfs\Font Awesome 6 Pro-Regular-400.otf" Link="Fonts/Font Awesome 6 Pro-Regular-400.otf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Font-Awesome-Pro\otfs\Font Awesome 6 Pro-Light-300.otf" Link="Fonts/Font Awesome 6 Pro-Light-300.otf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Font-Awesome-Pro\otfs\Font Awesome 6 Brands-Regular-400.otf" Link="Fonts/Font Awesome 6 Brands-Regular-400.otf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Font-Awesome-Pro\otfs\Font Awesome 6 Duotone-Solid-900.otf" Link="Fonts/Font Awesome 6 Duotone-Solid-900.otf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Font-Awesome-Pro\otfs\Font Awesome 6 Pro-Thin-100.otf" Link="Fonts/Font Awesome 6 Pro-Thin-100.otf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FontAwesome6.Fonts.Net\FontAwesome6.Fonts.Net.csproj" />
<ProjectReference Include="..\FontAwesome6.Svg.Net\FontAwesome6.Svg.Net.csproj" />
</ItemGroup>
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<UseWPF>true</UseWPF>
<RootNamespace>FontAwesome6.Example.WPF</RootNamespace>
<Configurations>Debug;Release;DebugPro;ReleasePro</Configurations>
<XamlDebuggingInformation>true</XamlDebuggingInformation>
</PropertyGroup>

<Import Project="..\FontAwesome6.Example.WPF.Shared\FontAwesome6.Example.WPF.Shared.projitems" Label="Shared" />

<ItemGroup>
<PackageReference Include="PropertyChanged.Fody" Version="3.4.0" />
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)'=='DebugPro'">
<DefineConstants>TRACE;FontAwesomePro</DefineConstants>
<XamlDebuggingInformation>true</XamlDebuggingInformation>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)'=='ReleasePro'">
<DefineConstants>TRACE;FontAwesomePro</DefineConstants>
</PropertyGroup>

<ItemGroup Condition="'$(Configuration)'=='DebugPro' Or '$(Configuration)'=='ReleasePro'">
<EmbeddedResource Include="..\..\generated\Font-Awesome-Pro\FontAwesomeSvg.all.json" Link="Svg\FontAwesomeSvg.all.json" />
<Content Include="..\..\Font-Awesome-Pro\webfonts\fa-regular-400.ttf" Link="Fonts/fa-regular-400.ttf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Font-Awesome-Pro\webfonts\fa-solid-900.ttf" Link="Fonts/fa-regular-900.ttf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Font-Awesome-Pro\webfonts\fa-light-300.ttf" Link="Fonts/fa-light-300.ttf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Font-Awesome-Pro\webfonts\fa-thin-100.ttf" Link="Fonts/fa-thin-100.ttf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Font-Awesome-Pro\webfonts\fa-brands-400.ttf" Link="Fonts/fa-brands-400.ttf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\Font-Awesome-Pro\webfonts\fa-duotone-900.ttf" Link="Fonts/fa-duotone-900.ttf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FontAwesome6.Fonts.Net\FontAwesome6.Fonts.Net.csproj" />
<ProjectReference Include="..\FontAwesome6.Svg.Net\FontAwesome6.Svg.Net.csproj" />
</ItemGroup>

</Project>
Loading

0 comments on commit 6a44470

Please sign in to comment.