Compression

Compression of PDF is enabled by default, use compress: false for disable:

var docDefinition = {
  compress: false,

  content: (...)
};