diff options
| author | Teddy Wing | 2021-05-03 23:17:12 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2021-05-03 23:17:12 +0200 | 
| commit | e33a1a0fb943442c24ebb702502c46b77eedb9bb (patch) | |
| tree | fe17569983d803f12d0b7495f0564e33332b53c8 /src | |
| parent | 4863600d14b4926f0db060f2b0ab19b39dfa8c7c (diff) | |
| download | pdf-form-replace-font-e33a1a0fb943442c24ebb702502c46b77eedb9bb.tar.bz2 | |
main: Remove debug print lines
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 7 | 
1 files changed, 0 insertions, 7 deletions
| diff --git a/src/main.rs b/src/main.rs index 91e1a0e..ddbf2f7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,16 +5,12 @@ fn main() {      let mut doc = Document::load("./f1040.pdf").unwrap();      for (_, mut obj) in &mut doc.objects { -        // println!("{:?}", obj); -          match &mut obj {              Object::Dictionary(ref mut d) => {                  for (k, v) in d.iter_mut() {                      let key = std::str::from_utf8(k).unwrap();                      if key == "DA" { -                        // println!("{:?}", d); -                          let properties = v.as_str_mut().unwrap();                          let new_properties = std::str::from_utf8(properties) @@ -22,9 +18,6 @@ fn main() {                              .replace("HelveticaLTStd-Bold", "CourierNewPSMT");                          *properties = new_properties.into_bytes(); - -                        dbg!(std::str::from_utf8(properties).unwrap()); -                        // dbg!(properties);                      }                  }              }, | 
