29 lines
1.4 KiB
Diff
29 lines
1.4 KiB
Diff
|
diff -up texlive-base-20210325/source/texk/web2c/pdftexdir/pdftoepdf.cc.poppler-fun texlive-base-20210325/source/texk/web2c/pdftexdir/pdftoepdf.cc
|
||
|
--- texlive-base-20210325/source/texk/web2c/pdftexdir/pdftoepdf.cc.poppler-fun 2022-01-14 14:50:16.840915328 -0500
|
||
|
+++ texlive-base-20210325/source/texk/web2c/pdftexdir/pdftoepdf.cc 2022-01-14 14:52:11.693629888 -0500
|
||
|
@@ -964,17 +964,17 @@ The changes below seem to work fine.
|
||
|
*/
|
||
|
// begin modification
|
||
|
groupDict = pageDict->lookup("Group");
|
||
|
- const Dict& dic1 = page->getGroup();
|
||
|
- const Dict& dic2 = groupDict.getDict();
|
||
|
+ Dict *dic1 = page->getGroup();
|
||
|
+ Dict *dic2 = groupDict.getDict();
|
||
|
// replace dic2 in groupDict with dic1
|
||
|
- l = dic2.getLength();
|
||
|
+ l = dic2->getLength();
|
||
|
for (i = 0; i < l; i++) {
|
||
|
- groupDict.dictRemove(dic2.getKey(i));
|
||
|
+ groupDict.dictRemove(dic2->getKey(i));
|
||
|
}
|
||
|
- l = dic1.getLength();
|
||
|
+ l = dic1->getLength();
|
||
|
for (i = 0; i < l; i++) {
|
||
|
- groupDict.dictAdd(dic1.getKey(i),
|
||
|
- dic1.getValNF(i).copy());
|
||
|
+ groupDict.dictAdd(dic1->getKey(i),
|
||
|
+ dic1->getValNF(i).copy());
|
||
|
}
|
||
|
// end modification
|
||
|
pdf_printf("/Group %ld 0 R\n", (long)pdfpagegroupval);
|