grunt-webfont
grunt-webfont copied to clipboard
.eot files not generated
.eot files aren't generated for me. However, there are correctly added to @font-face
. This is my configuration:
webfont: {
icons: {
src: './src/icons/*.svg',
dest: './public/compiled/fonts',
destCss: './src/components/_common/',
options: {
syntax: 'bootstrap',
engine: 'fontforge',
stylesheets: ['scss'],
htmlDemo: false,
relativeFontPath: '/compiled/fonts/',
types: ['eot', 'woff2', 'woff', 'ttf', 'svg'],
order: ['eot', 'woff2', 'woff', 'ttf', 'svg'],
template: './config/icon-template.config.css'
}
}
},
It doesn't metter if I remove types
ad order
or not.
I think this related to #356 issue, which avoid generating eot files. You might want to use previous version if you need the eot
Still not working in 1.7.1.
the node engine has no issue generating the .eot
, might as well use that.
#356 should be rollbacked. Invoking join
method with bytes and non-bytes string causes problem.
TypeError: sequence item 0: expected str instance, bytes found
Since Python 3, bytestring
/ bytes
should be handled differently and Python 2.7 does not care about b
notation. Thus, b''.join(...bytes...)
was right.
I successfully built eot
files with b''.join(...bytes...)
.