Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Keywords

none

Install

npm i convert-css-inline-fonts-woff2otf

DownloadsWeekly Downloads

3

Version

1.1.0

License

ISC

Last publish

Collaborators

  • avatar