From e17585c2d2df9fea296364c0768c2ce5adbc4b91 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 1 Mar 2021 16:43:35 -0500 Subject: Remove unreferenced: ignore names that are not Fonts or XObjects Converted ResourceFinder to ParserCallbacks so we can better detect the name that precedes various operators and use the operators to sort the names into resource types. This enables us to be smarter about detecting unreferenced resources in pages and also sets the stage for reconciling differences in /DR across documents. --- TODO | 9 --------- 1 file changed, 9 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index b7562008..5a0b8e0b 100644 --- a/TODO +++ b/TODO @@ -34,15 +34,6 @@ Document-level work --copy-attachments-from to preserve these. What will the strategy be for deduplicating in the automatic case? -* When I get to tagged PDF, note that the presence of /Artifact and - /Standard (and maybe others?) causes a false positive on detection - of unresolved names. Example: form-fields-and-annotations.pdf. This - used to give a warning (never in a released version), but the - warning was removed. See comments about tagged pdf in - QPDFPageObjectHelper::removeUnreferencedResourcesHelper. Another - potential solution is to recognize names that refer to fonts and - xobjects but only looking at names used with Tf and Do operators. - Fuzz Errors =========== -- cgit v1.2.3-54-g00ecf