mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Restore garbage removal on podofo save as we now bundle a version of podofo with the fix
This commit is contained in:
parent
ae5ea18ccf
commit
dec4f9f82e
@ -130,8 +130,7 @@ object_as_reference(const PdfObject *o) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// NoMetadataUpdate needed to avoid PoDoFo clobbering the /Info and XMP metadata with its own nonsense
|
// NoMetadataUpdate needed to avoid PoDoFo clobbering the /Info and XMP metadata with its own nonsense
|
||||||
// NoCollectGarbage needed to avoid slowdowns on writing, see https://github.com/podofo/podofo/issues/108
|
static const PdfSaveOptions save_options = PdfSaveOptions::NoMetadataUpdate;
|
||||||
static const PdfSaveOptions save_options = PdfSaveOptions::NoMetadataUpdate | PdfSaveOptions::NoCollectGarbage;
|
|
||||||
|
|
||||||
class PdfReferenceHasher {
|
class PdfReferenceHasher {
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user