Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of content

Typetools

A react.js component, context, and hook for parse opentype font.

Usage

import { ProviderTypetools } from "typetools";

const defaultFonts: string[] = [
    "/path/to/font.ttf",
];

<ProviderTypetools fonts={defaultFonts}>
    {children}
</ProviderTypetools>
  • The font urls above can be url from your static site or for outside origin
  • If you use urls from outside origin, make sure the url provider allowed
  • e.g. https://example.com/assets/example.otf

About

Typetools is a bla bla bla...

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages