Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

  • 0.2.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22
decreased by-86.83%
Maintainers
0
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 09 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc