changed config to hints for PDFWriter::stream