# @dbp-toolkit/font-source-sans-pro

> You can install this component via npm:

Latest version **0.2.8** (published 2025-10-07) · OFL-1.1 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @dbp-toolkit/font-source-sans-pro
pnpm add @dbp-toolkit/font-source-sans-pro
yarn add @dbp-toolkit/font-source-sans-pro
bun add @dbp-toolkit/font-source-sans-pro
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.2.8 |
| Published | 2025-10-07 |
| First published | 2020-12-02 |
| Weekly downloads | 0 |
| License | OFL-1.1 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 5 |
| Maintainers | lazka, pbek, dbp-deploy |

## Links

- npm: https://www.npmjs.com/package/@dbp-toolkit/font-source-sans-pro
- Repository: https://github.com/digital-blueprint/toolkit
- Homepage: https://github.com/digital-blueprint/toolkit#readme
- Issues: https://github.com/digital-blueprint/toolkit/issues
- npm.io page: https://npm.io/package/@dbp-toolkit/font-source-sans-pro

## Recent versions

- 0.2.8 (latest) — 2025-10-07
- 0.2.7 — 2025-01-09
- 0.2.6 — 2024-06-12
- 0.2.5 — 2023-03-03
- 0.2.4 — 2022-06-23
- 0.2.3 — 2021-06-16
- 0.2.2 — 2021-02-22
- 0.2.1 — 2021-02-17
- 0.2.0 — 2021-02-10
- 0.1.5 — 2021-01-27
- 0.1.4 — 2021-01-26
- 0.1.3 — 2020-12-22
- 0.1.2 — 2020-12-21
- 0.1.1 — 2020-12-21
- 0.1.0 — 2020-12-02

## README

# Subsetted Version of Sans Source Pro 2

You can install this component via npm:

```bash
npm i @dbp-toolkit/font-source-sans-pro
```

You can also use the files directly from the [CDN](https://unpkg.com/browse/@dbp-toolkit/font-source-sans-pro/files/).

## FAQ

- Why?

    We mostly use a light variant (300) of Source Sans Pro in our CI and any newer
    version and any version not based on the OTF variant looks horrible on low DPI
    screens on Windows and, to some extend, on Linux as well.

- Why OTF and not TTF?

    The TTF variant is hard to read on Windows with a low-DPI screen and a font
    weight of 300, OTF looks good on the other hand.

- Do I need to do this for every font?

    https://github.com/fontsource/fontsource has nice subsetted npm packages for
    various fonts. I'd try that first.

    Also see https://markoskon.com/creating-font-subsets for a nice article on the
    topic of subsetting.

## Rebuilding the fonts

- `poetry install`
- `poetry run bash build.sh`

---
_Source: https://npm.io/package/@dbp-toolkit/font-source-sans-pro · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
