Skip to content

Commit

Permalink
Update ttf-parser to 0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Jul 2, 2024
1 parent bd15d60 commit 398b085
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- run: cargo test
- name: Build no_std
run: cargo build --target thumbv6m-none-eabi --no-default-features --features "variable-fonts opentype-layout glyph-names"
run: cargo build --target thumbv6m-none-eabi --no-default-features --features "no-std-float variable-fonts opentype-layout glyph-names"

rustfmt:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.24.0
* Update _ttf-parser_ to `0.24.0`, [changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md#0240---2024-07-02).
* Use of feature `no-std-float` is required for no-std builds.

# 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`.
Expand Down
6 changes: 4 additions & 2 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.23.0"
version = "0.24.0"
authors = ["Alex Butler <[email protected]>"]
edition = "2021"
description = "ttf-parser plus support for owned data"
Expand All @@ -11,12 +11,14 @@ license = "Apache-2.0"
readme = "README.md"

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

[features]
default = ["std", "opentype-layout", "apple-layout", "variable-fonts", "glyph-names"]
# Activates usage of std.
# When disabled, the `no-std-float` feature must be enabled instead.
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 "variable-fonts opentype-layout glyph-names"
cargo build --target thumbv6m-none-eabi --no-default-features --features "no-std-float variable-fonts opentype-layout glyph-names"

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

0 comments on commit 398b085

Please sign in to comment.