docpad-plugin-fontface

2.0.2 • Public • Published

@font-face Plugin for DocPad

Build Status NPM version

Generates all required fonts for embedding fonts in websites. Currently only supported input format is svg.

Convention: .(ff|fontface).svg

Install

docpad install fontface

Configuration

You can set which output files should be generated in docpad.coffee:

plugins:
  fontface:
    output: ['ttf', 'svg', 'eot', 'woff', 'css']

TODO

  • Support more input formats (at least ttf would be nice)

Licensed under the incredibly permissive MIT License
Copyright © 2014+ Matevz Mihalic

/docpad-plugin-fontface/

    Package Sidebar

    Install

    npm i docpad-plugin-fontface

    Weekly Downloads

    2

    Version

    2.0.2

    License

    MIT

    Last publish

    Collaborators

    • matevzmihalic