From b48fb2caccc7a72b85f07e6ab652081af57c7855 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 1 Dec 2026 22:32:55 +0400 Subject: feat(ui): render mission hints with the original game font Resolve the witnessed 800x600 GAME_FONT through the installed resource configuration. Draw CP1251 bytes from the Tfnt atlas using the original variable-width metrics. Checked the original measurement routine and the first Constructor hint in the game window. --- Cargo.lock | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index f0331fdf..696ba441 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -470,6 +470,7 @@ name = "fparkan-assets" version = "0.1.0" dependencies = [ "fparkan-binary", + "fparkan-font", "fparkan-material", "fparkan-mission-format", "fparkan-msh", @@ -491,6 +492,7 @@ version = "0.1.0" name = "fparkan-font" version = "0.1.0" dependencies = [ + "encoding_rs", "fparkan-nres", "fparkan-texm", ] -- cgit v1.2.3