Shafarik
Display · 1 style · OFL · by Aleksandr Andreev · #1,920 most used
Fonts that pair with Shafarik
The best fonts to pair with Shafarik are Open Sans, Roboto and Google Sans. Use Shafarik for headings with Open Sans, Roboto or Google Sans for body text.
Shafarik for headings, each of these for body text. Curated pairings were chosen by hand; Suggested ones come from the pairing rules. How to use this page
withOpen SansSuggested
Съешь же ещё этих мягких
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Shafarik is a display face with strong personality, so it stays in headlines where it can be seen. Open Sans is a quiet sans-serif that does not compete; its 6 weights handle subheads, captions and body copy.
withRobotoSuggested
Съешь же ещё этих мягких
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Shafarik is a display face with strong personality, so it stays in headlines where it can be seen. Roboto is a quiet sans-serif that does not compete; its 9 weights handle subheads, captions and body copy.
withGoogle SansSuggested
Съешь же ещё этих мягких
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Shafarik is a display face with strong personality, so it stays in headlines where it can be seen. Google Sans is a quiet sans-serif that does not compete; its 4 weights handle subheads, captions and body copy.
withLoraSuggested
Съешь же ещё этих мягких
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Shafarik is a display face with strong personality, so it stays in headlines where it can be seen. Lora is a quiet serif that does not compete; its 4 weights handle subheads, captions and body copy.
withEB GaramondSuggested
Съешь же ещё этих мягких
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Shafarik is a display face with strong personality, so it stays in headlines where it can be seen. EB Garamond is a quiet serif that does not compete; its 5 weights handle subheads, captions and body copy.
withAlegreyaSuggested
Съешь же ещё этих мягких
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Shafarik is a display face with strong personality, so it stays in headlines where it can be seen. Alegreya is a quiet serif that does not compete; its 6 weights handle subheads, captions and body copy.
Styles
1 weight: Regular.
- 400 RegularСъешь же ещё этих мягких французских булок, да выпей чаю.
Get the CSS for Shafarik
Pick how you load fonts. The Google Fonts link is the quickest; the npm and Next.js options self-host the files. Which one should I use?
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Shafarik&display=swap" rel="stylesheet">Paste in <head>. Loads every weight; remove the ones you do not use from the URL to save bytes.
@import url('https://fonts.googleapis.com/css2?family=Shafarik&display=swap');
.shafarik {
font-family: "Shafarik", Impact, 'Arial Black', sans-serif;
}The @import goes at the top of your stylesheet. The <link> version above loads faster.
font-family: "Shafarik", Impact, 'Arial Black', sans-serif;Fallbacks keep text readable while Shafarik downloads.
@import "tailwindcss";
@theme {
--font-display: "Shafarik", Impact, 'Arial Black', sans-serif;
}Then use class="font-display". Add the <link> tag from the HTML tab to load the font.
npm install @fontsource/shafarik
// In your entry file
import "@fontsource/shafarik/400.css";
/* CSS */
font-family: "Shafarik", Impact, 'Arial Black', sans-serif;Self-hosted through Fontsource: no requests to Google, works offline and with strict privacy rules.
import { Shafarik } from "next/font/google";
const shafarik = Shafarik({
subsets: ["cyrillic"],
weight: ["400"],
display: "swap",
});next/font self-hosts the files at build time and sets a size-adjusted fallback.
About Shafarik
The Shafarik font, named after Pavel Jozef Šafárik (1795–1861), Slovak-born scholar and one of the founders of modern Slavic philology, is a specialized font intended for an academic presentation of Old Church Slavonic (OCS) texts written in either the Cyrillic or Glagolitic alphabets. To contribute, please see github.com/slavonic/Shafarik .
Description from the font's documentation on Google Fonts.
Shafarik is free for commercial and personal use under the SIL Open Font License 1.1: on the web, in apps and in print, with no attribution needed on the finished work. Only selling the font files themselves is not allowed.
| Category | Display |
|---|---|
| Designer | Aleksandr Andreev |
| Styles | 1 |
| Weights | 400 |
| Writing systems | cyrillic, cyrillic ext, glagolitic, latin, latin ext |
| Languages | 460 |
| Licence | SIL Open Font License 1.1 |
| Popularity | #1,920 of 1,959 Google Fonts |
| Added | February 11, 2025 |
| Last updated | May 30, 2025 |