We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64292e1 commit 8104aacCopy full SHA for 8104aac
itext/itext.kernel/itext/kernel/pdf/PdfDocument.cs
@@ -2271,7 +2271,8 @@ private void UpdateProducerInInfoDictionary() {
2271
}
2272
else {
2273
if (info.GetPdfObject().ContainsKey(PdfName.Producer)) {
2274
- producer = info.GetPdfObject().GetAsString(PdfName.Producer).ToUnicodeString();
+ PdfString producerPdfStr = info.GetPdfObject().GetAsString(PdfName.Producer);
2275
+ producer = producerPdfStr != null ? producerPdfStr.ToUnicodeString() : null;
2276
2277
producer = AddModifiedPostfix(producer);
2278
port-hash
@@ -1 +1 @@
1
-075fb5390c140ce7710427fbbb526115706d61ef
+090af8f2c31512fb80c559ee5dd60c15ee97fc28
0 commit comments