diff --git a/incremental-font-transfer/src/ift_extend.rs b/incremental-font-transfer/src/ift_extend.rs index 5088a46e6..b49b4ee62 100644 --- a/incremental-font-transfer/src/ift_extend.rs +++ b/incremental-font-transfer/src/ift_extend.rs @@ -13,7 +13,10 @@ use read_fonts::collections::IntSet; use skrifa::FontRef; #[derive(Parser, Debug)] -#[command(version, about = "Run the IFT extension algorithm (https://w3c.github.io/IFT/Overview.html#extend-font-subset) on an IFT font.", long_about = None)] +#[command( + version, + about = "Run the IFT extension algorithm (https://w3c.github.io/IFT/Overview.html#extend-font-subset) on an IFT font." +)] struct Args { /// The input IFT font file. #[arg(short, long)] @@ -38,7 +41,7 @@ fn main() { let mut font_bytes = std::fs::read(&args.font).unwrap_or_else(|e| { panic!( "Unable to read input font file ({}): {:?}", - args.font.to_str().unwrap_or(""), + args.font.display(), e ) }); diff --git a/resources/scripts/println_ignore.txt b/resources/scripts/println_ignore.txt index f11ded172..7fc9cda24 100644 --- a/resources/scripts/println_ignore.txt +++ b/resources/scripts/println_ignore.txt @@ -3,3 +3,4 @@ otexplorer/src/main.rs otexplorer/src/query.rs read-fonts/build.rs klippa/src/main.rs +incremental-font-transfer/ift_extend.rs