Crates.io | skrifa |
lib.rs | skrifa |
version | |
source | src |
created_at | 2023-04-08 08:14:57.39403 |
updated_at | 2024-12-03 23:29:53.231254 |
description | Metadata reader and glyph scaler for OpenType fonts. |
homepage | |
repository | https://github.com/googlefonts/fontations |
max_upload_size | |
id | 833494 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This crate aims to be a robust, ergonomic, high performance library for reading OpenType fonts. It is built on top of the read-fonts low level parsing library and is also part of the oxidize project.
The following information is currently exposed:
Future goals include:
Source | Decoding | Variations | Hinting |
---|---|---|---|
glyf | ✔️ | ✔️ | ✔️ |
CFF | ✔️ | - | ✔️ |
CFF2 | ✔️ | ✔️ | ✔️ |
COLRv0 | ✔️ | - | - |
COLRv1 | ✔️ | ✔️ | - |
EBDT | ✔️* | - | - |
CBDT | ✔️* | - | - |
sbix | ✔️* | - | - |
* Raw support available through the read-fonts
crate.
This library should not panic regardless of API misuse or use of corrupted/malicious font files. Please file an issue if this occurs.
Following along with our theme, skrifa is Old Norse for "write" or "it is written." And so it is named.
Unsafe code is forbidden by a #![forbid(unsafe_code)]
attribute in the root
of the library.