A font that maps every character to one glyph.
To install run the following command:
npm install fallback-font
or with yarn run:
yarn add fallback-font
Then import one of the css files inside your app. For example: import "fallback-font/fallback-outline.css";
Then you can reference the font using the css font-family
property.
font name | css file | description of glyph |
---|---|---|
Fallback Blank | fallback-blank.css | no whitespace or marks |
Fallback Outline | fallback-outline.css | outlined rectangle |
Fallback Outline X | fallback-outline-x.css | outlined rectangle with an X going through it |
Fallback Space | fallback-space.css | whitespace without marks |