/svgtofont_usage

Usage of modded svgtofont library

Primary LanguageHTMLMIT LicenseMIT

See https://github.com/PEC-Development-Team/PEC-Font-Based-Icons


-svgtofont_usage

Usage of modded svgtofont library

npm init

npm install -g pkg

npm install https://github.com/MrRedBeard/svgtofont

npm install grunt

npm install --save @uiw/react-github-corners

Run

node index.js

SVG 33.87mm x 33.87mm Artboard SVG resized and rotated to fit in that artboard Horizontal align center Vertical align middle Square items mostly rounded Line width 4-6pts for most These do not show up in SVG fonts Illustrator - Object, Path, Outline Stroke Merge layers & objects Illustrator - Pathfinder (Unite, Merge, Minus Front, Minus Back) based on need

Place SVGs in src folder npm install node index.js JavaScript, CSS & Fonts will be in fonts folder PECFontIcons.css See index.html example in fonts folder usage