Attach (recommended) or Link to PDF file here:

Configuration:
- Web browser and its version: Chrome 63.0.3239.132 
- Operating system and its version: Windows 10
- PDF.js version: using your official demo project
- Is a browser extension: No

Steps to reproduce the problem:
1.  Just load attached pdf
2.

What is the expected behavior? (add screenshot)
[E-WG18_105147.pdf](https://github.com/mozilla/pdf.js/files/1634833/E-WG18_105147.pdf)

What went wrong? (add screenshot)
![image](https://user-images.githubusercontent.com/29802177/34986271-3ca71a5c-fab7-11e7-95e8-1739dda3cd04.png)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

scaleFactors[i] * signedInt16(metrics[j + 2], metrics[j + 3])
        );
        writeSignedInt16(metrics, j + 2, lsb);
      }
    }
    
    let numGlyphsOut = numGlyphs + 1;
    let dupFirstEntry = true;
    if (numGlyphsOut > 0xffff) {
      dupFirstEntry = false;
      numGlyphsOut = numGlyphs;
      warn("Not enough space in glyfs to duplicate first glyph.");
    }
    let maxFunctionDefs = 0;
    let maxSizeOfInstructions = 0;
    if (version >= 0x00010000 && tables.maxp.length >= 22) {
      
      font.pos += 8;
      const maxZones = font.getUint16();
      if (maxZones > 2) {
        
        tables.maxp.data[14] = 0;
        tables.maxp.data[15] = 2;
      }
      font.pos += 4;
      maxFunctionDefs = font.getUint16();
      font.pos += 4;
      maxSizeOfInstructions = font.getUint16();
    }
    tables.maxp.data[4] = numGlyphsOut >> 8;