Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenzV committed Jun 7, 2024
1 parent 34c44c4 commit 335f8a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ impl Display for ConversionError {
match self {
Self::InvalidImage => f.write_str("An unknown type of image appears in the SVG."),
Self::UnknownError => f.write_str("An unknown error occurred during the conversion. This could indicate a bug in svg2pdf"),
#[cfg(feature = "text")]
Self::SubsetError(_) => f.write_str("An error occurred while subsetting a font."),
#[cfg(feature = "text")]
Self::InvalidFont(_) => f.write_str("An error occurred while reading a font."),
}
}
Expand Down

0 comments on commit 335f8a2

Please sign in to comment.