Skip to content

Commit

Permalink
Update ttf-parser to 0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Jul 2, 2024
1 parent 6297e6b commit 324ba4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.23.0
* Update _ttf-parser_ to `0.23.0`, [changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md#0230---2024-07-02).
* Remove feature `no-std-float`.

# 0.22.0
* Update _ttf-parser_ to `0.22.0`, [changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md#0220---2024-06-29).
* Use of feature `no-std-float` is required for no-std builds.
Expand Down
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "owned_ttf_parser"
# Version should be inline with ttf-parser
version = "0.22.0"
version = "0.23.0"
authors = ["Alex Butler <[email protected]>"]
edition = "2021"
description = "ttf-parser plus support for owned data"
Expand All @@ -11,13 +11,12 @@ license = "Apache-2.0"
readme = "README.md"

[dependencies]
ttf-parser = { version = "0.22", default-features = false }
ttf-parser = { version = "0.23", default-features = false }

[features]
default = ["std", "opentype-layout", "apple-layout", "variable-fonts", "glyph-names"]
# Activates usage of std.
std = ["ttf-parser/std"]
no-std-float = ["ttf-parser/no-std-float"]
# Enables variable fonts support. Increases binary size almost twice.
# Includes avar, CFF2, fvar, gvar, HVAR, MVAR and VVAR tables.
variable-fonts = ["ttf-parser/variable-fonts"]
Expand Down
2 changes: 1 addition & 1 deletion test
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ echo "==> test"
cargo test

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

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

0 comments on commit 324ba4f

Please sign in to comment.