indianfonts / Build
Your font. A few lines of CSS.
Copy a self-hosted font declaration with explicit weights and font-display: swap.
@font-face {
font-family: 'Manjari';
src: url('./font.woff2') format('woff2');
font-weight: 400;
font-style: normal;
font-display: swap;
}
body {
font-family: 'Manjari', system-ui, sans-serif;
line-height: 1.6;
}Place font.woff2 beside your stylesheet. Download the font’s complete package to preserve its license. For a public-site path, update the URL to your asset directory.