urw-core35-fonts

1.1.0 • Public • Published

URW++ GhostScript Fonts

These are WOFF2 versions of fonts included with every Ghostscript installation. The typefaces were originally created for Artifex Software by German typeface foundry URW++, who subsequently released them under the GNU Affero General Public License.

Source files for the Core35 fonts are available from git.ghostscript.com/urw-core35-fonts.git, where they remain available in four different formats: AFM, OpenType, Type1, and TrueType.

Installation

Either extract the fonts from a tarballed release, or install this module just like any other:

npm install urw-core35-fonts

Take note:
There's no JavaScript in this module. The package's "entry point" is its main stylesheet, index.css, which holds @font-face rules for each bundled font-family and variation thereof:

node_modules
    └── urw-core35-fonts
        ├── index.css
        └── fonts
            ├── C059-BdIta.woff2
            ├── NimbusMonoPS-Bold.woff2
            ├── NimbusMonoPS-BoldItalic.woff2
            ├── URWBookman-DemiItalic.woff2
            └── ... +32 other items

You can attach the font-sheet using an HTML link:

<link rel="stylesheet" type="text/css" href="node_modules/urw-core35-fonts/index.css" />

Or, if you need a more programmatic way to locate the package or its assets, use require.resolve:

const cssPath = require.resolve("urw-core35-fonts/index.css");
console.log(cssPath) => "/foo/node_modules/urw-core35-fonts/index.css";

License

These fonts are released under the GNU Affero General Public License v3.0. Verbatim copies of the Ghostscript project's licensing info are included with this package; see COPYING and LICENSE.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i urw-core35-fonts

      Weekly Downloads

      197

      Version

      1.1.0

      License

      AGPL-3.0

      Unpacked Size

      6.03 MB

      Total Files

      75

      Last publish

      Collaborators

      • alhadis