1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[]
= "ttf-parser"
= "0.25.0"
= ["Yevhenii Reizner <razrfalcon@gmail.com>"]
= ["ttf", "truetype", "opentype"]
= ["parser-implementations"]
= "MIT OR Apache-2.0"
= "A high-level, safe, zero-allocation font parser for TrueType, OpenType, and AAT."
= "https://github.com/RazrFalcon/ttf-parser"
= "https://docs.rs/ttf-parser/"
= "README.md"
= "2018"
= ["benches/**"]
[]
= { = "0.1.0", = true } # only for no_std builds
[]
= ["std", "opentype-layout", "apple-layout", "variable-fonts", "glyph-names"]
# Enables the use of the standard library.
# When disabled, the `no-std-float` feature must be enabled instead.
= []
= ["core_maths"]
# Enables variable fonts support. Increases binary size almost twice.
# Includes avar, CFF2, fvar, gvar, HVAR, MVAR and VVAR tables.
= []
# Enables GDEF, GPOS, GSUB and MATH tables.
= []
# Enables ankr, feat, format1 subtable in kern, kerx, morx and trak tables.
= []
# Enables glyph name query via `Face::glyph_name`.
# TrueType fonts do not store default glyph names, to reduce file size,
# which means we have to store them in ttf-parser. And there are almost 500 of them.
# By disabling this feature a user can reduce binary size a bit.
= []
# Enables heap allocations during gvar table parsing used by Apple's variable fonts.
# Due to the way gvar table is structured, we cannot avoid allocations.
# By default, only up to 32 variable tuples will be allocated on the stack,
# while the spec allows up to 4095. Most variable fonts use 10-20 tuples,
# so our limit is suitable for most of the cases. But if you need full support, you have to
# enable this feature.
= ["std"]
[]
= "0.22.1"
= "0.5"
= "0.11.4"
= "0.1"