npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vmprint/standard-fonts

v1.1.3

Published

Standard-font FontManager for VMPrint. Emits sentinel buffers for PDF standard fonts with zero binary font assets.

Readme

@vmprint/standard-fonts

StandardFontManager is a zero-asset FontManager that maps requested font families to the 14 standard PDF fonts and returns 5-byte sentinel buffers instead of real font data.

The engine detects each sentinel and uses built-in AFM metric tables rather than fontkit. Text measurement, line breaking, and pagination all work correctly — with no font files anywhere in the pipeline. The output PDF carries only PostScript font name references (e.g. /Helvetica-Bold); every conforming PDF viewer supplies the rendering for these fonts.

Usage

import { StandardFontManager } from '@vmprint/standard-fonts';
import { createEngineRuntime } from '@vmprint/engine';

const runtime = createEngineRuntime({ fontManager: new StandardFontManager() });

No configuration required.

When to use

  • Font-free PDFs — output that uses only PDF-14 standard fonts, with no embedded binary font data
  • Bundle-size-sensitive environments — edge functions, single-file CLIs, static HTML renderers
  • Test pipelines — correct layout metrics without needing bundled font files

Alias mapping

| Alias | Resolves to | |---|---| | Times, Times New Roman, serif | Times | | Arial, Helvetica, sans-serif | Helvetica | | Courier, Courier New, monospace | Courier | | Symbol | Symbol | | ZapfDingbats, Zapf Dingbats | ZapfDingbats |

Weight and style variants (bold, italic) resolve to the correct PostScript variant within each family.

Limitations

  • Latin scripts only. Coverage is Windows-1252 (Latin-1 + Western European supplement). Characters outside this range render as missing glyphs.
  • No kerning. AFM tables do not include kern pairs.
  • No CJK or multilingual fallback. Use @vmprint/local-fonts for multilingual documents.

See docs/reference/standard-fonts.md for the full architectural specification.


Licensed under the Apache License 2.0.