diff options
author | xlou <xlou@chromium.org> | 2018-02-06 23:27:14 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-06 23:27:14 +0000 |
commit | fbe978d91f39b39fd0e5b44b1aaedbe621a4c938 (patch) | |
tree | 44972ffa202b2f1dc4101b4f37c6dcbd08d1709b /fxbarcode/cbc_ean8.cpp | |
parent | 0cdb8434d6113eb84a68b6e3505eb73934ef17ce (diff) | |
download | pdfium-fbe978d91f39b39fd0e5b44b1aaedbe621a4c938.tar.xz |
Change MakeXObject to update reference from the root of the source page.
The code changes include two parts:
1. Only updating resources' reference caused font not to clone properly.
Hence changing to update reference from the root of the source page
dictionary.
2. Since PDF objects are at document level, pObjNumberMap needs to be
defined before pages are created to avoid same object being copied more
than one times with different object numbers.
Change-Id: I6f90aff2e3901cee73ce09fe550ad79add6be7eb
Reviewed-on: https://pdfium-review.googlesource.com/25190
Commit-Queue: Shirleen Lou <xlou@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/cbc_ean8.cpp')
0 files changed, 0 insertions, 0 deletions