Skip to content

Commit

Permalink
Update ttf-parser 0.22
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Jun 29, 2024
1 parent 6d765b6 commit 6297e6b
Show file tree
Hide file tree
Showing 4 changed files with 9 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.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.

# 0.21.0
* Update _ttf-parser_ to `0.21.0`, [changelog](https://github.com/RazrFalcon/ttf-parser/blob/master/CHANGELOG.md#0210---2024-05-10).

Expand Down
5 changes: 3 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.21.0"
version = "0.22.0"
authors = ["Alex Butler <[email protected]>"]
edition = "2021"
description = "ttf-parser plus support for owned data"
Expand All @@ -11,12 +11,13 @@ license = "Apache-2.0"
readme = "README.md"

[dependencies]
ttf-parser = { version = "0.21", default-features = false }
ttf-parser = { version = "0.22", 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 "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 6297e6b

Please sign in to comment.