Skip to content

Commit

Permalink
Version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed May 10, 2024
1 parent 0657c6c commit ea8cfff
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
## [0.21.0] - 2024-05-10
### Added
- `COLR` / `CPAL` v1 support.
Thanks to [LaurenzV](https://github.com/LaurenzV).

### Changed
- Replace `Face::is_bitmap_embedding_allowed` with `Face::is_outline_embedding_allowed`.
The old one had a bool flag flipped.
Thanks to [Fuzzyzilla](https://github.com/Fuzzyzilla).
- Increase lenience of embed permissions for older OS/2 versions.
Thanks to [Fuzzyzilla](https://github.com/Fuzzyzilla).

## [0.20.0] - 2023-10-15
### Added
Expand Down Expand Up @@ -409,7 +420,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
- `GDEF` table parsing.
[Unreleased]: https://github.com/RazrFalcon/ttf-parser/compare/v0.20.0...HEAD
[Unreleased]: https://github.com/RazrFalcon/ttf-parser/compare/v0.21.0...HEAD
[0.21.0]: https://github.com/RazrFalcon/ttf-parser/compare/v0.20.0...v0.21.0
[0.20.0]: https://github.com/RazrFalcon/ttf-parser/compare/v0.19.2...v0.20.0
[0.19.2]: https://github.com/RazrFalcon/ttf-parser/compare/v0.19.1...v0.19.2
[0.19.1]: https://github.com/RazrFalcon/ttf-parser/compare/v0.19.0...v0.19.1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ttf-parser"
version = "0.20.0"
version = "0.21.0"
authors = ["Yevhenii Reizner <razrfalcon@gmail.com>"]
keywords = ["ttf", "truetype", "opentype"]
categories = ["parser-implementations"]
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1744,6 +1744,7 @@ impl<'a> Face<'a> {
}

/// Checks if the face allows outline data to be embedded.
///
/// If false, only bitmaps may be embedded in accordance with [`Self::permissions`].
///
/// If the font contains no bitmaps and this flag is not set, it implies no embedding is allowed.
Expand Down
1 change: 1 addition & 0 deletions src/tables/os2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ impl<'a> Table<'a> {
}

/// Checks if the face allows outline data to be embedded.
///
/// If false, only bitmaps may be embedded in accordance with [`Self::permissions`].
///
/// If the font contains no bitmaps and this flag is not set, it implies no embedding is allowed.
Expand Down

0 comments on commit ea8cfff

Please sign in to comment.