An open API service indexing awesome lists of open source software.

https://github.com/truetype-supply/tts-typetools

Typetools is a bla bla bla...
https://github.com/truetype-supply/tts-typetools

glyphs nextjs opentypejs react typetester typetools typography variable-fonts

Last synced: 7 days ago
JSON representation

Typetools is a bla bla bla...

Awesome Lists containing this project

README

        

**Table of content**

- [Typetools](#typetools)
- [A react.js component, context, and hook for parse opentype font.](#a-reactjs-component-context-and-hook-for-parse-opentype-font)
- [Usage](#usage)

# Typetools

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

## Usage

```
import { ProviderTypetools } from "typetools";

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

{children}

```

- 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