Skip to content

Commit

Permalink
Merge pull request #443 from RenderMichael/id-format
Browse files Browse the repository at this point in the history
Ensure a space before PDF arrays are written, even in non-verbose mode
  • Loading branch information
ststeiger authored Jul 12, 2024
2 parents 0783e08 + b3d8b81 commit c771d63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PdfSharpCore/Pdf.IO/PdfWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public PdfWriter(Stream pdfStream, PdfStandardSecurityHandler securityHandler)
public void Close(bool closeUnderlyingStream)
{
if (_stream != null && closeUnderlyingStream)
_stream.Dispose();
_stream.Dispose();
_stream = null;
}

Expand Down Expand Up @@ -577,8 +577,8 @@ void WriteSeparator(CharCat cat, char ch)
}
else
{
if (cat == CharCat.Character)
_stream.WriteByte((byte)' ');
//if (cat == CharCat.Character)
_stream.WriteByte((byte)' ');
}
break;
}
Expand Down

0 comments on commit c771d63

Please sign in to comment.