Add support for "faux italics"

This commit is contained in:
meehl committed 2025-10-30 20:15:02 +01:00
1 parent a338ff02f1
commit 479b7196cf
6 files changed
+64 -10

No files matched your search

+2 -1
View File
@@ -3,7 +3,7 @@ use crate::{
args::Game,
color::Srgba,
dpi::{LogicalPoint, LogicalRect},
fonts::{Alignment, LayoutJob},
fonts::{Alignment, FontStyle, LayoutJob},
mode::{AppEvent, ModeFrameOutput, ModeTransition},
renderer::primitives::{ClippedPrimitive, DrawPrimitive, TextPrimitive},
};
@@ -120,6 +120,7 @@ impl InstallMode {
34.0,
Some(Alignment::Center),
Some(700.0),
FontStyle::Normal,
);
let progress_text = match &self.current_progress {