If you have a font file in ttf format, you can follow below steps to convert it to a webfont
If you already converted font from step 1, please ignore this step.
You need to have a zip which contains a css file and some font files( .otf, .eot, .woff, .woff2, .ttf).
File structure:
font.zip
Sample CSS file:
@font-face {
font-family: ‘Font Awesome 5 Free’;
font-style: normal;
font-weight: 900;
src: url(“fa-solid-900.eot”);
src: url(“fa-solid-900.eot?#iefix”) format(“embedded-opentype”), url(“fa-solid-900.woff2”) format(“woff2”), url(“fa-solid-900.woff”) format(“woff”), url(“fa-solid-900.ttf”) format(“truetype”), url(“fa-solid-900.svg#fontawesome”) format(“svg”); }
