0.2.5 • Published 1 year ago

@dbp-toolkit/font-source-sans-pro v0.2.5

Weekly downloads
52
License
OFL-1.1
Repository
github
Last release
1 year ago

Subsetted Version of Sans Source Pro 2

You can install this component via npm:

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

You can also use the files directly from the CDN.

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
0.2.5

1 year ago

0.2.4

2 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago