I would like to use a font on a web page.
Is it still necessary to systematically use the three usual font formats (WOFF2, WOFF, TTF)? Why?
For example, for the Segoe Historical font, we used to be advised to use the following CSS lines:
Code: Select all
@font-face {
font-family: "seguihis";
src:
url("fonts/SegoeUIHistoric-Regular.woff2") format("woff2"),
url("fonts/SegoeUIHistoric-Regular.woff") format("woff"),
url("fonts/seguihis.ttf") format("truetype");
}
.fontsymbol {
font-family: "symbol";
}
—The WOFF2 version uses 770,984 bytes.
—The WOFF version uses 944,020 bytes.
—The TTF version uses 1,604,572 bytes.
Thank you for your explanations.