If there is no option to import from a cdn like Google you have to include each format separately (for each font-weight and font-style, and for several browsers)
Could look like this:
Okay, here the font is included in different formats (eot, woff, woff2, ttf and svg); in most cases you will only have the truetype font ".ttf"
/* lato-regular - latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: url('../fonts/lato-v11-latin-regular.eot'); /* IE9 Compat Modes */
src: local('Lato Regular'), local('Lato-Regular'),
url('../fonts/lato-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/lato-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/lato-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/lato-v11-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-italic - latin */
@font-face {
font-family: 'Lato';
font-style: italic;
font-weight: 400;
src: url('../fonts/lato-v11-latin-italic.eot'); /* IE9 Compat Modes */
src: local('Lato Italic'), local('Lato-Italic'),
url('../fonts/lato-v11-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/lato-v11-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/lato-v11-latin-italic.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato-v11-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/lato-v11-latin-italic.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-700 - latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: url('../fonts/lato-v11-latin-700.eot'); /* IE9 Compat Modes */
src: local('Lato Bold'), local('Lato-Bold'),
url('../fonts/lato-v11-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/lato-v11-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
url('../fonts/lato-v11-latin-700.woff') format('woff'), /* Modern Browsers */
url('../fonts/lato-v11-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
url('../fonts/lato-v11-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}
On the other side:
Do you have the right to upload this font to the server?
Looks like it is a university installation.
To be honest: Without being able to include into the the template, you shouldn't waste your time.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.