This repository has been archived by the owner on May 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
How to use Glyph Fields Generator
Elvin (Tharindu) Thudugala edited this page Aug 26, 2019
·
1 revision
- Download Font (Pro for Desktop) from https://fontawesome.com/download
- Unzip
- Copy
icons.json
inmetadata
folder totools\GlyphFieldsGenerator\GlyphFieldsFontAwesome5Pro
folder - Go to https://app.quicktype.io
- Set
Generated namespace
toGlyphFieldsFontAwesome5Pro
- Set
Name
toIconJson
- Copy
icons.json
content to Json panel - Copy the generated Code to
tools\GlyphFieldsGenerator\GlyphFieldsFontAwesome5Pro\IconJson.cs
file - Open
tools\GlyphFieldsGenerator\GlyphFieldsGenerator.sln
solution - Change libName const to correct version in
GlyphFieldsFontAwesome5Pro\Program.cs
- Build and Run
GlyphFieldsFontAwesome5Pro
project - This will generate
GlyphListBrands.cs
,GlyphListDuotone.cs
,GlyphListLight.cs
,GlyphListRegular.cs
andGlyphListSolid.cs
files for you inPlugin.Glypher.FontAwesome5Pro
project
- Download Font (Fre for Desktop) from https://fontawesome.com/download
- Unzip
- Copy
icons.json
inmetadata
folder totools\GlyphFieldsGenerator\GlyphFieldsFontAwesome5Free
folder - Go to https://app.quicktype.io
- Set
Generated namespace
toGlyphFieldsFontAwesome5Free
- Set
Name
toIconJson
- Copy
icons.json
content to Json panel - Copy the generated Code to
tools\GlyphFieldsGenerator\GlyphFieldsFontAwesome5Free\IconJson.cs
file - Open
tools\GlyphFieldsGenerator\GlyphFieldsGenerator.sln
solution - Change libName const to correct version in
GlyphFieldsFontAwesome5Free\Program.cs
- Build and Run
GlyphFieldsFontAwesome5Free
project - This will generate
GlyphListBrands.cs
,GlyphListRegular.cs
andGlyphListSolid.cs
files for you inPlugin.Glypher.FontAwesome5Free
project - Copy
Font Awesome 5 Brands-Regular-400.otf
,Font Awesome 5 Free-Regular-400.otf
andFont Awesome 5 Free-Solid-900.otf
inotfs
folder tofonts\fontawesome-free-[version]-desktop
folder