Procedure:
The procedure I followed to install all the required formats was to find which font I needed from each font, then go and download it from Google Fonts. Then, using https://everythingfonts.com/font-face (font generator), I downloaded all the formats along with the CSS code. Then I included them all in my CSS and HTML.
CSS
@font-face { font-family: 'JosefinSansLight'; src: url('/fonts/JosefinSansLight.eot'); src: url('/fonts/JosefinSansLight.eot') format('embedded-opentype'), url('/fonts/JosefinSansLight.woff2') format('woff2'), url('/fonts/JosefinSansLight.woff') format('woff'), url('/fonts/JosefinSansLight.ttf') format('truetype'); }
HTML (excerpt):
.testim{ font-family:'JosefinSansLight', sans-serif; line-height:normal; color:#969696; font-size:1.2em; }
Files: (my domain folder) / fonts
fonts/JosefinSansLight.eot fonts/JosefinSansLight.eot fonts/JosefinSansLight.woff2 fonts/JosefinSansLight.woff fonts/JosefinSansLight.ttf
source share