@aptre/pragmasevka
v1.0.5
Published
Self-host the Pragmasevka font.
Maintainers
Readme
@aptre/pragmasevka
A modern, condensed monospace font with increased x-height, optimized for code and terminal use.
This package provides an easy way to include the Pragmasevka font in your web projects. The font is based on Iosevka and is available from the upstream repository.
Comparison with PragmataPro (black, image from Wikipedia)
Installation
# npm
npm install @aptre/pragmasevka
# yarn
yarn add @aptre/pragmasevka
# pnpm
pnpm add @aptre/pragmasevkaUsage
// Import in JS/TS
import '@aptre/pragmasevka';@import "@aptre/pragmasevka/font.css";
/* Use in CSS */
font-family: 'Pragmasevka', monospace;Features
Pragmasevka is a customized build of Iosevka with the following improvements:
- Adjusted x-height for better readability
- Optimized line height for dense code display
- Refined weight for both regular and bold variants
- Enhanced punctuation marks for better code scanning
- Carefully selected programming ligatures
- Condensed design that maximizes screen real estate
Included Font Variants
This package includes:
- Regular
- Bold
- Bold Italic
Font Files
The font files are included in this package. If you need the original font files directly, you can download them from the upstream repository.
Browser Support
The package uses WOFF2 format which is supported in all modern browsers.
Related Fonts
- NRK-Mono - A condensed variant based on JetBrains Mono
- Iosvmata - A more extended version of Pragmasevka
License
This package is licensed under the SIL Open Font License 1.1 (OFL-1.1).
Original font created by Renzhi Li (aka. Belleve Invis, [email protected]).
Pragmasevka variant created by Alexey Shytikov.
