Skip to content

gabrielleles18/fontastic-to-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert fonts in format .ttf to json

This script converts fonts in format .ttf to json. The json file contains the following information:

#Install dependencies
yarn install

# Transform .ttf to .json
yarn run generate:json

# Format json file
yarn run format:json

Return Array of strings with name of icons.

[
    "awesome-align-right",
    "awesome-amazon",
    "awesome-ambulance",
    "awesome-anchor"
]