Private
Public Access
1
0

fix: use FontFamily enum for plotters chart captions to prevent font panic
All checks were successful
CI Pipeline / Rust Format Check (push) Successful in 4s
CI Pipeline / Clippy Lints (push) Successful in 56s
CI Pipeline / Rust Unit Tests (push) Successful in 1m15s
CI Pipeline / Security Audit (push) Successful in 3s
CI Pipeline / Frontend Lint & Type Check (push) Successful in 15s
CI Pipeline / Build .deb & Release (push) Has been skipped

This commit is contained in:
2026-05-12 21:06:49 +00:00
parent 4c91e02e58
commit 65847c6c90
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ fn render_bar_chart(
let n = labels.len().max(1); let n = labels.len().max(1);
let mut chart = ChartBuilder::on(&root) let mut chart = ChartBuilder::on(&root)
.caption(title, ("sans-serif", 20).into_font()) .caption(title, (FontFamily::SansSerif, 20))
.margin(20u32) .margin(20u32)
.x_label_area_size(60u32) .x_label_area_size(60u32)
.y_label_area_size(50u32) .y_label_area_size(50u32)

2
debian/control vendored
View File

@ -4,7 +4,7 @@ Architecture: amd64
Maintainer: Moon Dragon <echo@moon-dragon.us> Maintainer: Moon Dragon <echo@moon-dragon.us>
Installed-Size: 45000 Installed-Size: 45000
Depends: postgresql-16, libssl3, libc6 (>= 2.39) Depends: postgresql-16, libssl3, libc6 (>= 2.39)
Recommends: postgresql-client-16 Recommends: postgresql-client-16, fonts-dejavu-core
Suggests: gpg Suggests: gpg
Section: admin Section: admin
Priority: optional Priority: optional