Skip to content

cccits/pulipola-typetools

 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 77.7%
  • SCSS 17.5%
  • CSS 4.2%
  • JavaScript 0.6%