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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.2
    1
  • 2.0.1
    1

Package Sidebar

Install

npm i docpad-plugin-fontface

Weekly Downloads

2

Version

2.0.2

License

MIT

Last publish

Collaborators

  • matevzmihalic