Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff46a570fc | ||
|
|
7db64e337d | ||
|
|
522ab489cd |
No files matched your search
+8
-1
@@ -2,6 +2,12 @@
|
||||
|
||||
## [Unreleased] - ReleaseDate
|
||||
|
||||
## [0.2.13] - 2026-03-09
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix size of ascendancy flavour texts
|
||||
|
||||
## [0.2.12] - 2026-03-09
|
||||
|
||||
### Changed
|
||||
@@ -161,8 +167,9 @@
|
||||
- First release
|
||||
|
||||
<!-- 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.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
|
||||
|
||||
Generated
+1
-1
@@ -2506,7 +2506,7 @@ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
||||
|
||||
[[package]]
|
||||
name = "rusty-path-of-building"
|
||||
version = "0.2.12"
|
||||
version = "0.2.13"
|
||||
dependencies = [
|
||||
"ahash",
|
||||
"anyhow",
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ authors = ["meehl"]
|
||||
description = "Cross-platform runtime for Path of Building"
|
||||
repository = "https://github.com/meehl/rusty-path-of-building"
|
||||
license = "MIT"
|
||||
version = "0.2.12"
|
||||
version = "0.2.13"
|
||||
edition = "2024"
|
||||
publish = false
|
||||
|
||||
|
||||
@@ -484,8 +484,15 @@ fn build_layout_job<'a>(
|
||||
}
|
||||
};
|
||||
|
||||
// TODO: check how PoB determines font size
|
||||
let font_size = (line_height - 2).clamp(11, 32) as f32;
|
||||
// NOTE: This is just an approximation and was chosen based on how it looks.
|
||||
//
|
||||
// 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(
|
||||
font_family,
|
||||
|
||||
Reference in new issue
Block a user