1.4.5 • Published 9 months ago

fontellizr v1.4.5

Weekly downloads
160
License
MIT
Repository
github
Last release
9 months ago

fontellizr

Module to generate fontello webfont from svg set

Install

$ npm i fontellizr

This module targets Node.js 8 or later. If you want support for older browsers use Babel compiler.

Usage

JavaScript API

var fontellizr = require('fontellizr');

fontellizr({
  svgsSourceDir: './source/svgs',
  fontsDestDir: './assets/fonts/fontello',
  stylesDestDir: './assets/styles/vendor',
  fontelloConfig: {
    ascent: 850,
    units_per_em: 1000,
    hinting: true,
    css_use_suffix: false,
    css_prefix_text: 'icon-',
    name: 'fontello'
  }
});

Cli tool

Create .fontellizrrc file in project directory

{
  "svgsSourceDir": "./svgs",
  "fontsDestDir": "./fonts",
  "stylesDestDir": "./styles",
  "fontelloConfig": {
    "ascent": 850,
    "units_per_em": 1000,
    "hinting": true,
    "css_use_suffix": false,
    "css_prefix_text": "icon-",
    "name": "test"
  }
}

Run fontellizr

$ npx fontellizr

License

MIT © Ablay Keldibek

1.4.5

9 months ago

1.4.4

4 years ago

1.4.3

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago