/
View dependency graph
Depends on
- dh-cargo (dh-sequence-cargo)
- cargo, debhelper-compat, librust-ttf-parser-0.25+apple-layout-dev, librust-ttf-parser-0.25+glyph-names-dev, librust-ttf-parser-0.25+gvar-alloc-dev, librust-ttf-parser-0.25+no-std-float-dev, librust-ttf-parser-0.25+opentype-layout-dev, librust-ttf-parser-0.25+std-dev, librust-ttf-parser-0.25+variable-fonts-dev, librust-ttf-parser-0.25-dev, libstd-rust-dev, rustc
Used by
README (full)
owned_ttf_parser

ttf-parser plus support for owned data.
Provides OwnedFace, AsFaceRef and re-exports ttf_parser::*.
Example
use owned_ttf_parser::{AsFaceRef, OwnedFace, Face};
let owned_face = OwnedFace::from_vec(owned_face_data, 0).unwrap();
let face_ref: &Face<'_> = owned_face.as_face_ref();
assert_eq!(face_ref.ascender(), 2254);
no_std
no_std environments are supported using alloc.
owned_ttf_parser = { default-features = false }
Minimum supported rust compiler
All crates maintained with latest stable rust.
| dir | .github/ |
| dir | debian/ |
| dir | fonts/ |
| dir | src/ |
| dir | tests/ |
| file | .cargo_vcs_info.json |
| file | .gitignore |
| file | CHANGELOG.md |
| file | Cargo.toml |
| file | Cargo.toml.orig |
| file | LICENSE |
| file | README.md |
| file | test |