Skip to content

Commit

Permalink
Version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed Feb 19, 2024
1 parent 6dd0405 commit a5aca84
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.16.2] - 2024-02-19
### Fixed
- System fonts loading on Windows when the system drive is not `C:\\`.
[@tronical](https://github.com/@tronical)

## [0.16.1] - 2024-02-09
### Fixed
- Treat fonts with non-zero italic angle as italic.
Expand Down Expand Up @@ -181,7 +186,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- Stretch processing. `ttf-parser` was incorrectly parsing this property.

[Unreleased]: https://github.com/RazrFalcon/fontdb/compare/v0.16.1...HEAD
[Unreleased]: https://github.com/RazrFalcon/fontdb/compare/v0.16.2...HEAD
[0.16.2]: https://github.com/RazrFalcon/fontdb/compare/v0.16.1...v0.16.2
[0.16.1]: https://github.com/RazrFalcon/fontdb/compare/v0.16.0...v0.16.1
[0.16.0]: https://github.com/RazrFalcon/fontdb/compare/v0.15.0...v0.16.0
[0.15.0]: https://github.com/RazrFalcon/fontdb/compare/v0.14.1...v0.15.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "fontdb"
version = "0.16.1"
version = "0.16.2"
authors = ["Yevhenii Reizner <razrfalcon@gmail.com>"]
edition = "2018"
description = "A simple, in-memory font database with CSS-like queries."
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Expand Up @@ -348,6 +348,8 @@ impl Database {
if let Some(ref system_root) = std::env::var_os("SYSTEMROOT") {
let system_root_path = std::path::Path::new(system_root);
self.load_fonts_dir(system_root_path.join("Fonts"));
} else {
self.load_fonts_dir("C:\\Windows\\Fonts\\");
}

if let Ok(ref home) = std::env::var("USERPROFILE") {
Expand Down

0 comments on commit a5aca84

Please sign in to comment.