Fixes #3865 - Prevent PDF to be compressed

Fixes #3865 - Prevent PDF to be compressed