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):

}
        glyphProfile.length = glyphDataLength;
        return glyphProfile;
      }
      if (glyf.length - glyphDataLength > 3) {
        
        glyphDataLength = (glyphDataLength + 3) & ~3;
        dest.set(glyf.subarray(0, glyphDataLength), destStart);
        glyphProfile.length = glyphDataLength;
        return glyphProfile;
      }
      
      dest.set(glyf, destStart);
      glyphProfile.length = glyf.length;
      return glyphProfile;
    }
    function sanitizeHead(head, numGlyphs, locaLength) {
      const data = head.data;
      
      
      const version = int32(data[0], data[1], data[2], data[3]);
      if (version >> 16 !== 1) {
        info("Attempting to fix invalid version in head table: " + version);
        data[0] = 0;
        data[1] = 1;
        data[2] = 0;
        data[3] = 0;
      }
      const indexToLocFormat = int16(data[50], data[51]);
      if (indexToLocFormat < 0 || indexToLocFormat > 1) {