convert-css-inline-fonts-woff2otf

1.1.0 • Public • Published

Convert CSS inline fonts from woff to otf

This is made to fight non-support for WOFF on PhantomJS (which, even though is supposed to be supported, is not)

const woff2otf = require('convert-css-inline-fonts-woff2otf')
const cssStringWithConvertedFonts = woff2otf(cssStringWithInlineWoffFonts)

Which can now be displayed in any version of PhantomJS

Dependents (0)

Package Sidebar

Install

npm i convert-css-inline-fonts-woff2otf

Weekly Downloads

1

Version

1.1.0

License

ISC

Last publish

Collaborators

  • john-berlin