grunt-webfont icon indicating copy to clipboard operation
grunt-webfont copied to clipboard

.eot files not generated

Open julkue opened this issue 7 years ago • 4 comments

.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.

julkue avatar Jul 11 '17 08:07 julkue

I think this related to #356 issue, which avoid generating eot files. You might want to use previous version if you need the eot

syarul avatar Jul 26 '17 08:07 syarul

Still not working in 1.7.1.

acuntex avatar Aug 15 '17 10:08 acuntex

the node engine has no issue generating the .eot, might as well use that.

syarul avatar Aug 16 '17 05:08 syarul

#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...).

lqez avatar Dec 10 '18 16:12 lqez