Skip to content

Commit 0ce7fa2

Browse files
committed
Fixing residual debug prints.
1 parent 519e5b6 commit 0ce7fa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PDPageElement.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ end
471471
function showtext(io::IO, tr::PDPageTextRun, state::Vector{Dict}=Vector{Dict}())
472472
fontname, font = get(state[end], :font, (CosNull, CosNull))
473473
page = get(state[end], :page, CosNull)
474-
(tr.elem.t == Symbol("\'") || tr.elem.t == Symbol("\"")) && print(io, " LF\n")
474+
(tr.elem.t == Symbol("\'") || tr.elem.t == Symbol("\"")) && print(io, "\n")
475475
for s in tr.ss
476476
text = String(get_encoded_string(s, fontname, page))
477477
write(io, text)
@@ -524,4 +524,4 @@ end
524524

525525
showtext(io::IO, pdo::PDPageInlineImage, state::Vector{Dict}=Vector{Dict}()) = io
526526

527-
showtext(io::IO, pdo::CosObject, state::Vector{Dict}=Vector{Dict}()) = (show(io, pdo); io)
527+
showtext(io::IO, pdo::CosObject, state::Vector{Dict}=Vector{Dict}()) = io

0 commit comments

Comments
 (0)