Commit 9c9ce64eecdb90f66fa532b155d45784d0f33c34
1 parent
178f995f
Handle strings in inline image dictionaries
We need to use token.getRawValue, not token.getValue
Showing
2 changed files
with
7 additions
and
2 deletions
ChangeLog
libqpdf/QPDFPageObjectHelper.cc
| ... | ... | @@ -281,8 +281,8 @@ InlineImageTracker::handleToken(QPDFTokenizer::Token const& token) |
| 281 | 281 | } |
| 282 | 282 | else |
| 283 | 283 | { |
| 284 | - bi_str += token.getValue(); | |
| 285 | - dict_str += token.getValue(); | |
| 284 | + bi_str += token.getRawValue(); | |
| 285 | + dict_str += token.getRawValue(); | |
| 286 | 286 | } |
| 287 | 287 | } |
| 288 | 288 | else if (token == QPDFTokenizer::Token(QPDFTokenizer::tt_word, "BI")) | ... | ... |