Commit 21753001b701ed2d3f48f73c1a2733b3a337fc99

Authored by Jay Berkenbilt
1 parent 6c6227bf

*** empty log message ***

git-svn-id: svn+q:///qpdf/trunk@978 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing 1 changed file with 5 additions and 2 deletions
@@ -32,7 +32,10 @@ General @@ -32,7 +32,10 @@ General
32 figure out why I added this to begin with and what in the code 32 figure out why I added this to begin with and what in the code
33 assumes it's the case. For enqueueObject and unparseChild in 33 assumes it's the case. For enqueueObject and unparseChild in
34 QPDFWriter, simply removing the checks for indirect scalars seems 34 QPDFWriter, simply removing the checks for indirect scalars seems
35 - sufficient. 35 + sufficient. Looking back at the branch in the apex epub
  36 + repository, before flattening scalar references, there was special
  37 + case code in QPDFWriter to avoid writing out indirect nulls. It's
  38 + still not obvious to me why I did it though.
36 39
37 To pursue this, remove the call to flattenScalarReferences in 40 To pursue this, remove the call to flattenScalarReferences in
38 QPDFWriter.cc and disable the logic_error exceptions for indirect 41 QPDFWriter.cc and disable the logic_error exceptions for indirect
@@ -54,7 +57,7 @@ General @@ -54,7 +57,7 @@ General
54 If flattenScalarReferences is removed, a new method will be needed 57 If flattenScalarReferences is removed, a new method will be needed
55 for checking PDF files. 58 for checking PDF files.
56 59
57 - * See if we can avoid preserving unreferenced objects in objet 60 + * See if we can avoid preserving unreferenced objects in object
58 streams even when preserving the object streams. 61 streams even when preserving the object streams.
59 62
60 * For debugging linearization bugs, consider adding an option to save 63 * For debugging linearization bugs, consider adding an option to save