How To get WOFF2 Font to work
How To get WOFF2 Font to work add the following code to Web.Config file under Visual Studio.NET project
<staticContent>
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff2" mimeType="font/woff2" />
</staticContent>
To solve your issue, please browse https://kb.plesk.com for Knowledge Base articles that might have a solution. If you don’t have any luck there, open https://cscontact.plesk.com/ and file a ticket. Also if you have additional information about this issue or want to get advice from the community, please go to our forum at https://talk.plesk.com.
We are closing your request as it doesn’t include any software improvement proposal.
—
IG
-
Dominic commented
Also if you want to add Font CSS File to HTML / Web Form / CSHTML use
<style>
@import url('/CSS/Font.css');
</style>Font.css File would look like this
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: local('Roboto Mono'), local('RobotoMono-Regular'), url('../Font/RobotoMono.woff2') format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}HTML / Web Form / CSHTML would use the font like this
.SPANTAG {
font-family: 'Roboto Mono', monospace, Consolas;
}HTML / Web Form / CSHTML
<span class="SPANTAG">Roboto Mono Font</span>