From 33767ee434fb2dc26de0c4de41def45efeb444f5 Mon Sep 17 00:00:00 2001 From: Joep Meindertsma Date: Sat, 25 Feb 2023 14:36:25 +0100 Subject: [PATCH] Get rid of last printlns #52 #45 --- src/lib.rs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b883d44..9d7c90c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -488,7 +488,7 @@ impl<'a> PdfSimpleFont<'a> { != &String::from_utf16(&be) .map_err(|_| "utf16 err")? { - println!("Unicode mismatch"); + dlog!("Unicode mismatch"); } } } @@ -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();