Skip to content

Commit

Permalink
[IFT] review suggestions.
Browse files Browse the repository at this point in the history
  • Loading branch information
garretrieger committed Dec 2, 2024
1 parent 1efafdd commit 48e19bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 5 additions & 2 deletions incremental-font-transfer/src/ift_extend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand All @@ -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
)
});
Expand Down
1 change: 1 addition & 0 deletions resources/scripts/println_ignore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 48e19bc

Please sign in to comment.