From be7c1404c321917c602c1fb3f54da009a92bef0d Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 7 Oct 2019 17:19:12 +0100 Subject: [PATCH] add a note about pdfium minimise --- libvips/foreign/pdfiumload.c | 2 ++ libvips/foreign/pdfload.c | 1 + 2 files changed, 3 insertions(+) diff --git a/libvips/foreign/pdfiumload.c b/libvips/foreign/pdfiumload.c index f0984cd5..c18e9521 100644 --- a/libvips/foreign/pdfiumload.c +++ b/libvips/foreign/pdfiumload.c @@ -39,6 +39,8 @@ /* TODO * + * - needs the reopen-after-minimise system that pdfload has, but we'll need + * to be able to actually build and test this before we can do that * - what about filename encodings * - need to test on Windows */ diff --git a/libvips/foreign/pdfload.c b/libvips/foreign/pdfload.c index 82cb0329..bc1daeba 100644 --- a/libvips/foreign/pdfload.c +++ b/libvips/foreign/pdfload.c @@ -366,6 +366,7 @@ static void vips_foreign_load_pdf_minimise( VipsObject *object, VipsForeignLoadPdf *pdf ) { VipsForeignLoadPdfClass *class = VIPS_FOREIGN_LOAD_PDF_GET_CLASS( pdf ); + #ifdef DEBUG printf( "vips_foreign_load_pdf_minimise: %p\n", pdf ); #endif /*DEBUG*/