docs.rs failed to build fontspector-hotfix-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
fontspector-hotfix
A simple library and tool for applying hotfixes to font binaries.
This crate provides functionality to run a series of hotfix functions on a font file. It looks up check IDs in the registry and applies any hotfix functions that are available.
Library Usage
use fontspector_hotfix::{apply_hotfixes, Testable};
let mut testable = Testable::new("path/to/font.ttf")?;
let check_ids = vec!["com/google/fonts/check/example"];
let modified = apply_hotfixes(&mut testable, &check_ids)?;
if modified {
testable.save()?;
}