diff options
author | Jay Berkenbilt <ejb@ql.org> | 2011-04-30 20:20:35 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2011-04-30 20:20:35 +0200 |
commit | 6405d3928f78bc227587b87b8e2c2d46502796e0 (patch) | |
tree | 88753b44f945b0860eb7c40d4290022bfcff374f /libqpdf/qpdf | |
parent | a8f224872995e3b90297693cfe1f381f01c555c8 (diff) | |
download | qpdf-6405d3928f78bc227587b87b8e2c2d46502796e0.tar.zst |
be less conservative when skipping over inline images in content normalization
git-svn-id: svn+q:///qpdf/trunk@1050 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'libqpdf/qpdf')
-rw-r--r-- | libqpdf/qpdf/Pl_QPDFTokenizer.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libqpdf/qpdf/Pl_QPDFTokenizer.hh b/libqpdf/qpdf/Pl_QPDFTokenizer.hh index d300d7cd..3f816f5d 100644 --- a/libqpdf/qpdf/Pl_QPDFTokenizer.hh +++ b/libqpdf/qpdf/Pl_QPDFTokenizer.hh @@ -33,7 +33,9 @@ class Pl_QPDFTokenizer: public Pipeline bool last_char_was_cr; bool unread_char; char char_to_unread; - bool pass_through; + bool in_inline_image; + static int const IMAGE_BUF_SIZE = 4; // must be >= 4 + char image_buf[IMAGE_BUF_SIZE]; }; #endif // __PL_QPDFTOKENIZER_HH__ |