17 lines
673 B
Diff
17 lines
673 B
Diff
https://bugs.freedesktop.org/show_bug.cgi?id=103873
|
|
|
|
diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
|
|
index 90f039d8..a5249dcd 100644
|
|
--- a/poppler/PDFDoc.cc
|
|
+++ b/poppler/PDFDoc.cc
|
|
@@ -1503,7 +1503,7 @@ void PDFDoc::writeXRefTableTrailer(Goffset uxrefOffset, XRef *uxref, GBool write
|
|
void PDFDoc::writeHeader(OutStream *outStr, int major, int minor)
|
|
{
|
|
outStr->printf("%%PDF-%d.%d\n", major, minor);
|
|
- outStr->printf("%%\xE2\xE3\xCF\xD3\n");
|
|
+ outStr->printf("%%%c%c%c%c\n", 0xE2, 0xE3, 0xCF, 0xD3);
|
|
}
|
|
|
|
void PDFDoc::markDictionnary (Dict* dict, XRef * xRef, XRef *countRef, Guint numOffset, int oldRefNum, int newRefNum, std::set<Dict*> *alreadyMarkedDicts)
|
|
|