| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "ab_glyph" |
| 15 |
version = "0.2.32" |
| 16 |
authors = ["Alex Butler <[email protected]>"] |
| 17 |
build = false |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "API for loading, scaling, positioning and rasterizing OpenType font glyphs." |
| 24 |
readme = "README.md" |
| 25 |
keywords = [ |
| 26 |
"text", |
| 27 |
"ttf", |
| 28 |
"truetype", |
| 29 |
"otf", |
| •30 |
"opentype", |
| 31 |
] |
| 32 |
license = "Apache-2.0" |
| 33 |
repository = "https://github.com/alexheretic/ab-glyph" |
| 34 |
|
| 35 |
[features] |
| 36 |
default = [ |
| 37 |
"std", |
| 38 |
"variable-fonts", |
| 39 |
"gvar-alloc", |
| 40 |
] |
| 41 |
gvar-alloc = ["owned_ttf_parser/gvar-alloc"] |
| 42 |
libm = [ |
| 43 |
"dep:libm", |
| 44 |
"ab_glyph_rasterizer/libm", |
| 45 |
"owned_ttf_parser/no-std-float", |
| 46 |
] |
| 47 |
std = [ |
| 48 |
"owned_ttf_parser/default", |
| 49 |
"ab_glyph_rasterizer/default", |
| 50 |
] |
| 51 |
variable-fonts = ["owned_ttf_parser/variable-fonts"] |
| 52 |
|
| 53 |
[lib] |
| 54 |
doctest = false |
| 55 |
name = "ab_glyph" |
| 56 |
path = "src/lib.rs" |
| 57 |
|
| 58 |
[dependencies.ab_glyph_rasterizer] |
| 59 |
version = "0.1.2" |
| 60 |
default-features = false |
| 61 |
|
| 62 |
[dependencies.libm] |
| 63 |
version = "0.2.1" |
| 64 |
optional = true |
| 65 |
|
| 66 |
[dependencies.owned_ttf_parser] |
| 67 |
version = "0.25" |
| 68 |
default-features = false |
| 69 |
|
| 70 |
[dev-dependencies] |