From 88beb5573bfe132de3353f4bcac19297ac8bf959 Mon Sep 17 00:00:00 2001 From: Omar Aglan Date: Sun, 13 Sep 2026 12:55:52 +0300 Subject: [PATCH] chore(lib): Define Uniscribe itemization control --- Core/Libraries/Source/WWVegas/WWLib/Usp10Loader.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Core/Libraries/Source/WWVegas/WWLib/Usp10Loader.h b/Core/Libraries/Source/WWVegas/WWLib/Usp10Loader.h index 3b35b03b82b..2ac7646b75d 100644 --- a/Core/Libraries/Source/WWVegas/WWLib/Usp10Loader.h +++ b/Core/Libraries/Source/WWVegas/WWLib/Usp10Loader.h @@ -29,9 +29,16 @@ class Usp10Loader public: typedef void *ScriptStringAnalysis; - struct ScriptControl; struct ScriptTabDefinition; + // TheSuperHackers @info Omar Aglan 13/09/2026 ScriptItemize needs a non-null control + // structure for bidirectional analysis. Keep the unused control flags zero. + struct ScriptControl + { + DWORD default_language : 16; + DWORD reserved : 16; + }; + struct ScriptState { WORD bidi_level : 5;