Skip to content

Commit

Permalink
Version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed Jul 2, 2024
1 parent 9561033 commit a06b588
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.23.0] - 2024-07-02
### Changed
- Use `core_maths` instead of `libm`. Should simplify the build process.
Thanks to [LaurenzV](https://github.com/LaurenzV).

### Removed
- `no-std-float` build flag. Should be handled automatically now.

## [0.22.0] - 2024-06-29
### Added
- `Face::glyph_phantom_points`
Expand Down Expand Up @@ -473,7 +481,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
- `GDEF` table parsing.
[Unreleased]: https://github.com/RazrFalcon/ttf-parser/compare/v0.22.0...HEAD
[Unreleased]: https://github.com/RazrFalcon/ttf-parser/compare/v0.23.0...HEAD
[0.23.0]: https://github.com/RazrFalcon/ttf-parser/compare/v0.22.0...v0.23.0
[0.22.0]: https://github.com/RazrFalcon/ttf-parser/compare/v0.21.1...v0.22.0
[0.21.1]: https://github.com/RazrFalcon/ttf-parser/compare/v0.21.0...v0.21.1
[0.21.0]: https://github.com/RazrFalcon/ttf-parser/compare/v0.20.0...v0.21.0
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ttf-parser"
version = "0.22.0"
version = "0.23.0"
authors = ["Yevhenii Reizner <razrfalcon@gmail.com>"]
keywords = ["ttf", "truetype", "opentype"]
categories = ["parser-implementations"]
Expand All @@ -13,7 +13,7 @@ edition = "2018"
exclude = ["benches/**"]

[dependencies]
core_maths = { version = "0.1.0"}
core_maths = { version = "0.1.0" } # No-op for `std` builds.

[features]
default = ["std", "opentype-layout", "apple-layout", "variable-fonts", "glyph-names"]
Expand Down
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ Font parsing starts with a [`Face`].
#[macro_use]
extern crate std;

#[allow(unused_imports)]
use core_maths::*;

#[cfg(feature = "apple-layout")]
mod aat;
#[cfg(feature = "variable-fonts")]
Expand All @@ -61,8 +64,6 @@ mod tables;
#[cfg(feature = "variable-fonts")]
mod var_store;

#[allow(unused_imports)]
use core_maths::*;
use head::IndexToLocationFormat;
pub use parser::{Fixed, FromData, LazyArray16, LazyArray32, LazyArrayIter16, LazyArrayIter32};
use parser::{NumFrom, Offset, Offset32, Stream, TryNumFrom};
Expand Down

0 comments on commit a06b588

Please sign in to comment.