Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Nov 15, 2024
1 parent 6371bf1 commit c1a090c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/html.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::{BuiltinFont, Mm, Op, PdfDocument, PdfPage, PdfResources, Pt};
use crate::{BuiltinFont, Mm, Op, PdfDocument, PdfPage, PdfResources, Pt};
use azul_core::{
app_resources::{
DpiScaleFactor, Epoch, IdNamespace, ImageCache,
Expand Down
3 changes: 1 addition & 2 deletions src/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ pub struct PdfSaveOptions {
impl Default for PdfSaveOptions {
fn default() -> Self {
Self {
#[cfg(debug_assertions)]
optimize: std::cfg!(not(debug_assertions)),
optimize: true,
subset_fonts: true,
}
}
Expand Down

0 comments on commit c1a090c

Please sign in to comment.