Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/UglyToad.PdfPig/Graphics/BaseStreamProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ public virtual void PushState()
/// <inheritdoc/>
public void ShowText(IInputBytes bytes)
{
TextSequence++;

var currentState = GetCurrentState();

var font = currentState.FontState.FromExtendedGraphicsState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void Run(IOperationContext operationContext)
operationContext.ShowText(input);
}

string? EscapeText(string? text)
private static string? EscapeText(string? text)
{
if (text is null) return null;
// Fix Issue 350 from PDF Spec 1.7 (page 408) on handling 'special characters' of '(', ')' and '\'.
Expand Down
Loading