Steps to reproduce (this PDF):
[page4.pdf](https://github.com/mozilla/pdf.js/files/5990272/page4.pdf)

````
npm install
node_modules/.bin/gulp dist-install
node examples/node/pdf2svg.js /tmp/page4.pdf
````

Error:
````
Error: Invalid SVG dimensions
    at unreachable (/tmp/pdf.js/build/dist/legacy/build/pdf.js:2086:9)
    at assert (/tmp/pdf.js/build/dist/legacy/build/pdf.js:2091:5)
    at DOMSVGFactory.create (/tmp/pdf.js/build/dist/legacy/build/pdf.js:640:24)
    at SVGGraphics._makeTilingPattern (/tmp/pdf.js/build/dist/legacy/build/pdf.js:24178:36)
    at SVGGraphics._makeColorN_Pattern (/tmp/pdf.js/build/dist/legacy/build/pdf.js:24127:23)
    at SVGGraphics.setFillColorN (/tmp/pdf.js/build/dist/legacy/build/pdf.js:24088:39)
    at SVGGraphics.executeOpTree (/tmp/pdf.js/build/dist/legacy/build/pdf.js:23634:22)
    at /tmp/pdf.js/build/dist/legacy/build/pdf.js:23508:18
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
````
if (m[4] === 0 && m[5] === 0) {
      if (m[1] === 0 && m[2] === 0) {
        if (m[0] === 1 && m[3] === 1) {
          return "";
        }
        return `scale(${pf(m[0])} ${pf(m[3])})`;
      }
      if (m[0] === m[3] && m[1] === -m[2]) {
        const a = (Math.acos(m[0]) * 180) / Math.PI;
        return `rotate(${pf(a)})`;
      }
    } else {
      if (m[0] === 1 && m[1] === 0 && m[2] === 0 && m[3] === 1) {
        return `translate(${pf(m[4])} ${pf(m[5])})`;
      }
    }
    return (
      `matrix(${pf(m[0])} ${pf(m[1])} ${pf(m[2])} ${pf(m[3])} ${pf(m[4])} ` +
      `${pf(m[5])})`
    );
  }
  
  
  
  let clipCount = 0;
  let maskCount = 0;
  let shadingCount = 0;
  SVGGraphics = class {
    constructor(commonObjs, objs, forceDataSchema = false) {