Compare commits

...
3 Commits
Author SHA1 Message Date
meehl ff46a570fc chore: Release rusty-path-of-building version 0.2.13
Release / create-release (push) Successful in 4s
2026-03-09 18:17:47 +01:00
meehl 7db64e337d Update CHANGELOG 2026-03-09 18:17:33 +01:00
meehl 522ab489cd Fix ascendancy flavour text size. 2026-03-09 18:13:58 +01:00
4 changed files with 19 additions and 5 deletions

No files matched your search

+8 -1
View File
@@ -2,6 +2,12 @@
## [Unreleased] - ReleaseDate ## [Unreleased] - ReleaseDate
## [0.2.13] - 2026-03-09
### Fixed
- Fix size of ascendancy flavour texts
## [0.2.12] - 2026-03-09 ## [0.2.12] - 2026-03-09
### Changed ### Changed
@@ -161,8 +167,9 @@
- First release - First release
<!-- next-url --> <!-- next-url -->
[Unreleased]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.12...HEAD [Unreleased]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.13...HEAD
[0.2.13]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.12...v0.2.13
[0.2.12]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.11...v0.2.12 [0.2.12]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.11...v0.2.12
[0.2.11]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.10...v0.2.11 [0.2.11]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.10...v0.2.11
[0.2.10]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.9...v0.2.10 [0.2.10]: https://github.com/meehl/rusty-path-of-building/compare/v0.2.9...v0.2.10
Generated
+1 -1
View File
@@ -2506,7 +2506,7 @@ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
[[package]] [[package]]
name = "rusty-path-of-building" name = "rusty-path-of-building"
version = "0.2.12" version = "0.2.13"
dependencies = [ dependencies = [
"ahash", "ahash",
"anyhow", "anyhow",
+1 -1
View File
@@ -4,7 +4,7 @@ authors = ["meehl"]
description = "Cross-platform runtime for Path of Building" description = "Cross-platform runtime for Path of Building"
repository = "https://github.com/meehl/rusty-path-of-building" repository = "https://github.com/meehl/rusty-path-of-building"
license = "MIT" license = "MIT"
version = "0.2.12" version = "0.2.13"
edition = "2024" edition = "2024"
publish = false publish = false
+9 -2
View File
@@ -484,8 +484,15 @@ fn build_layout_job<'a>(
} }
}; };
// TODO: check how PoB determines font size // NOTE: This is just an approximation and was chosen based on how it looks.
let font_size = (line_height - 2).clamp(11, 32) as f32; //
// PoB uses pre-rendered font atlases of discrete sizes and selects the appropriate
// atlas based on the provided height. Rusty-PoB dynamically renders fonts to a
// cached font atlas to support the selection of arbitrary sizes.
//
// TODO: font size in some dropdowns is too small, e.g. socket group selection in
// 'Calcs' tab
let font_size = (line_height - 2).max(1) as f32;
let mut job = LayoutJob::new( let mut job = LayoutJob::new(
font_family, font_family,