Skip to content

Commit

Permalink
Removing old code in font_proxy.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmadrid committed Jan 7, 2023
1 parent ff4da84 commit 554d8fb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/pdfutils/font_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ impl FontProxy {
FontProxy::Helvetica(false, false)
}
pub fn times_bold() -> FontProxy {
//FontProxy::Times(true, false)
FontProxy::times().bold(true)
}
pub fn helvetica_bold() -> FontProxy {
//FontProxy::Helvetica(true, false)
FontProxy::helvetica().bold(true)
}
pub fn bold(&self, bold: bool) -> FontProxy {
Expand Down
1 change: 0 additions & 1 deletion src/pdfutils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ impl Attributes {
}

f(instructions);

if setting_something {
instructions.pop_state();
}
Expand Down

0 comments on commit 554d8fb

Please sign in to comment.