| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.63.0" |
| 15 |
name = "ttf-parser" |
| 16 |
version = "0.25.1" |
| 17 |
authors = [ |
| 18 |
"Caleb Maclennan <[email protected]>", |
| 19 |
"Laurenz Stampfl <[email protected]>", |
| 20 |
"Yevhenii Reizner <[email protected]>", |
| 21 |
"خالد حسني (Khaled Hosny) <khaled@aliftype.com>", |
| 22 |
] |
| 23 |
build = false |
| 24 |
exclude = ["benches/**"] |
| 25 |
autolib = false |
| 26 |
autobins = false |
| 27 |
autoexamples = false |
| 28 |
autotests = false |
| 29 |
autobenches = false |
| 30 |
description = "A high-level, safe, zero-allocation font parser for TrueType, OpenType, and AAT." |
| 31 |
documentation = "https://docs.rs/ttf-parser/" |
| 32 |
readme = "README.md" |
| 33 |
keywords = [ |
| 34 |
"ttf", |
| 35 |
"truetype", |
| 36 |
"opentype", |
| 37 |
] |
| 38 |
categories = ["parser-implementations"] |
| 39 |
license = "MIT OR Apache-2.0" |
| 40 |
repository = "https://github.com/harfbuzz/ttf-parser" |
| 41 |
|
| 42 |
[package.metadata.typos.default] |
| 43 |
locale = "en-us" |
| 44 |
|
| 45 |
[package.metadata.typos.default.extend-words] |
| 46 |
loca = "loca" |
| 47 |
ot = "ot" |
| 48 |
trak = "trak" |
| 49 |
wdth = "wdth" |
| 50 |
|
| 51 |
[lib] |
| 52 |
name = "ttf_parser" |
| 53 |
path = "src/lib.rs" |
| 54 |
|
| 55 |
[[example]] |
| 56 |
name = "font-info" |
| 57 |
path = "examples/font-info.rs" |
| 58 |
|
| 59 |
[[example]] |
| 60 |
name = "font2svg" |
| 61 |
path = "examples/font2svg.rs" |
| 62 |
|
| 63 |
[[test]] |
| 64 |
name = "bitmap" |
| 65 |
path = "tests/bitmap.rs" |
| 66 |
|
| 67 |
[[test]] |
| 68 |
name = "tables" |
| 69 |
path = "tests/tables/main.rs" |
| 70 |
|
| 71 |
[dependencies.core_maths] |
| 72 |
version = "0.1.0" |
| 73 |
optional = true |
| 74 |
|
| 75 |
[dev-dependencies.base64] |
| 76 |
version = "0.22.1" |
| 77 |
|
| 78 |
[dev-dependencies.pico-args] |
| 79 |
version = "0.5" |
| 80 |
|
| 81 |
[dev-dependencies.tiny-skia-path] |
| 82 |
version = "0.11.4" |
| 83 |
|
| 84 |
[dev-dependencies.xmlwriter] |
| 85 |
version = "0.1" |
| 86 |
|
| 87 |
[features] |
| 88 |
apple-layout = [] |
| 89 |
default = [ |
| 90 |
"std", |
| 91 |
"opentype-layout", |
| 92 |
"apple-layout", |
| 93 |
"variable-fonts", |
| 94 |
"glyph-names", |
| 95 |
] |
| 96 |
glyph-names = [] |
| 97 |
gvar-alloc = ["std"] |
| 98 |
no-std-float = ["core_maths"] |
| 99 |
opentype-layout = [] |
| 100 |
std = [] |
| 101 |
variable-fonts = [] |