Skip to content

Commit 6297e6b

Browse files
committed
Update ttf-parser 0.22
1 parent 6d765b6 commit 6297e6b

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v4
1818
- run: cargo test
1919
- name: Build no_std
20-
run: cargo build --target thumbv6m-none-eabi --no-default-features --features "variable-fonts opentype-layout glyph-names"
20+
run: cargo build --target thumbv6m-none-eabi --no-default-features --features "no-std-float variable-fonts opentype-layout glyph-names"
2121

2222
rustfmt:
2323
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.22.0
2+
* Update _ttf-parser_ to `0.22.0`, [changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md#0220---2024-06-29).
3+
* Use of feature `no-std-float` is required for no-std builds.
4+
15
# 0.21.0
26
* Update _ttf-parser_ to `0.21.0`, [changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md#0210---2024-05-10).
37

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "owned_ttf_parser"
33
# Version should be inline with ttf-parser
4-
version = "0.21.0"
4+
version = "0.22.0"
55
authors = ["Alex Butler <alexheretic@gmail.com>"]
66
edition = "2021"
77
description = "ttf-parser plus support for owned data"
@@ -11,12 +11,13 @@ license = "Apache-2.0"
1111
readme = "README.md"
1212

1313
[dependencies]
14-
ttf-parser = { version = "0.21", default-features = false }
14+
ttf-parser = { version = "0.22", default-features = false }
1515

1616
[features]
1717
default = ["std", "opentype-layout", "apple-layout", "variable-fonts", "glyph-names"]
1818
# Activates usage of std.
1919
std = ["ttf-parser/std"]
20+
no-std-float = ["ttf-parser/no-std-float"]
2021
# Enables variable fonts support. Increases binary size almost twice.
2122
# Includes avar, CFF2, fvar, gvar, HVAR, MVAR and VVAR tables.
2223
variable-fonts = ["ttf-parser/variable-fonts"]

test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo "==> test"
99
cargo test
1010

1111
echo "==> no_std"
12-
cargo build --target thumbv6m-none-eabi --no-default-features --features "variable-fonts opentype-layout glyph-names"
12+
cargo build --target thumbv6m-none-eabi --no-default-features --features "no-std-float variable-fonts opentype-layout glyph-names"
1313

1414
echo "==> rustfmt"
1515
cargo fmt -- --check

0 commit comments

Comments
 (0)