mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-31 10:58:25 +00:00
Handle strings in inline image dictionaries
We need to use token.getRawValue, not token.getValue
This commit is contained in:
parent
178f995fc2
commit
9c9ce64eec
@ -1,3 +1,8 @@
|
||||
2021-01-31 Jay Berkenbilt <ejb@ql.org>
|
||||
|
||||
* Bug fix: properly handle strings if they appear in inline image
|
||||
dictionaries while externalizing inline images.
|
||||
|
||||
2021-01-30 Jay Berkenbilt <ejb@ql.org>
|
||||
|
||||
* Add examples/pdf-name-number-tree.cc to illustrate new
|
||||
|
@ -281,8 +281,8 @@ InlineImageTracker::handleToken(QPDFTokenizer::Token const& token)
|
||||
}
|
||||
else
|
||||
{
|
||||
bi_str += token.getValue();
|
||||
dict_str += token.getValue();
|
||||
bi_str += token.getRawValue();
|
||||
dict_str += token.getRawValue();
|
||||
}
|
||||
}
|
||||
else if (token == QPDFTokenizer::Token(QPDFTokenizer::tt_word, "BI"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user