Skip to content

LinusU/ttf-postscript-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTF PostScript Name

A small utility to extract the PostScript name from a TrueType font file.

Extracted from trevordixon/ttfinfo, which is a more comprehensive tool for extracting metadata from TrueType fonts.

Installation

npm install ttf-postscript-name

Usage

import ttfPostscriptName from 'ttf-postscript-name'

const filecontents = fs.readFileSync('path/to/font.ttf')
const postscriptName = ttfPostscriptName(filecontents)
console.log(postscriptName)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors