Skip to content

Commit

Permalink
Get rid of last printlns jrmuizel#52
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Feb 25, 2023
1 parent 2e19926 commit 3d14658
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ impl<'a> PdfSimpleFont<'a> {
!= &String::from_utf16(&be)
.map_err(|_| "utf16 err")?
{
println!("Unicode mismatch");
dlog!("Unicode mismatch");
}
}
}
Expand Down Expand Up @@ -2002,12 +2002,17 @@ impl<'a> OutputDev for HTMLOutput<'a> {
let position = trm.post_transform(&self.flip_ctm);
let (x, y) = (position.m31, position.m32);

println!("accum {} {:?}", char, (x, y));
dlog!("accum {} {:?}", char, (x, y));
self.buf += char;
} else {
println!(
dlog!(
"flush {} {:?} {:?} {} {} {}",
char, trm, self.last_ctm, width, font_size, spacing
char,
trm,
self.last_ctm,
width,
font_size,
spacing
);
self.flush_string()?;
self.buf = char.to_owned();
Expand Down

0 comments on commit 3d14658

Please sign in to comment.