Skip to content

Tool to create ligature icon fonts from svg images

License

Notifications You must be signed in to change notification settings

neoskop/ligscrib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@neoskop/ligscrib

Tool to create ligature icon fonts from svg images

Install

Ligscrib requires NodeJS version 10 or later.

# using yarn
$ yarn global add @neoskop/ligscrib

# using npm
$ npm install -g @neoskop/ligscrib

Usage

$ ligscrib --help

  Usage: ligscrib [options] <globs...>

Options:
  --help                   Show help                                                       [boolean]
  --version                Show version number                                             [boolean]
  -o, --out-dir, --outDir  Output directory                                           [default: "."]
  -n, --name               Font file name (w/o file extension)                    [default: "icons"]
  -t, --types              Created font file types                   [default: "svg,ttf,woff,woff2"]
  --css                    Create a CSS file (--no-css)                    [boolean] [default: true]
  -e, --example            Create a HTML example file                                      [boolean]
  -v, --verbose            Verbose output                                                  [boolean]

Example

$ ligscrip raw-icons/* --out-dir out --example
✔  added arrow-left as arrow_left
✔  added check
✔  added error
✔  added information
✔  added mail
✔  added phone

✔  Done

References

License

MIT

Copyright (c) 2021 Neoskop GmbH
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Tool to create ligature icon fonts from svg images

Resources

License

Stars

Watchers

Forks

Packages

No packages published