Zephirum is designed for good readability and legibility. It is ideal for code, terminal, and other monospace applications, including machine reading.
The Arabic word Ṣifr (صفر), meaning "empty" or "nothing," was introduced to Europe through Islamic mathematics. Fibonacci later Latinized it as "Zephirum", which evolved into the modern word "zero."
The font follows the Google Fonts specification and includes:
DESCRIPTION.en_us.html- Font description and detailsFONTLOG.txt- Detailed font history and acknowledgmentszephirum(*).css- CSS files for web usageZephirum-Regular.glyphs- Glyphs fileZephirum-Regular.ttf- TrueType font fileMETADATA.pb- Font metadata for Google FontsOFL.txt- SIL Open Font License v1.1
The font source is in TTF format and can be opened and modified using:
To modify the font:
- Install a font editor
- Open the
Zephirum-Regular.glyphsfile - Make your changes and export the font files
Please note that some glyphs are composed of multiple glyphs. However, in TTF format they are exported as decomposed glyphs. Avoid editing the TTF file to maintain consistency. TTF is only for exporting glyphs.
Define the font family in your CSS file
@import url("https://cdn.jsdelivr.net/gh/rastislavcore/zephirum/zephirum.css");or in your HTML file
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rastislavcore/zephirum/zephirum.css">Usage Example
code, pre, .monospace {
font-family: "zephirum", monospace;
}
/* Using special PUA characters */
.open-source-icon::before {
font-family: "zephirum";
content: "\E0A9";
}
.bitcoin::before {
font-family: "zephirum";
content: "\F1B6";
}@font-face {
font-family: "zephirum";
src: url(Zephirum-Regular.ttf) format("truetype");
font-display: swap;
}CSS import of the latest version
@font-face {
font-family: "zephirum";
src: url(https://cdn.jsdelivr.net/gh/rastislavcore/zephirum/Zephirum-Regular.ttf) format("truetype");
font-display: swap;
}CSS with Minor updates and patch fixes within a major version
@font-face {
font-family: "zephirum";
src: url(https://cdn.jsdelivr.net/gh/rastislavcore/zephirum@1/Zephirum-Regular.ttf) format("truetype");
font-display: swap;
}Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
This Font Software is licensed under the SIL Open Font License, Version 1.1. See the OFL.txt file for full details.
If you find this project useful, please consider supporting it: