bea593732d
The bundle was built by rewriting the Korean translation mod's asset bundle, so it still carried everything that mod needed and we did not: three unused font assets, their materials and textures, and a .resS stream holding two 2048x2048 atlases. Deleted those, dropped the stream, and rewrote m_Container and m_PreloadTable to reference only the four surviving objects. 862 KB -> 59 KB, verified by reloading: the embedded font still round-trips as Cabin with full Slovak coverage and the Gill Sans MT metrics. The 2s sweep existed to catch labels whose font the game reassigns without any text change, which happens on a language switch. A postfix on the Text.font setter catches exactly that, at the moment it happens rather than up to two seconds later, and costs nothing when idle. Re-entry is safe: our own assignment fires the hook once, which finds the state already correct and returns. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
57 KiB
57 KiB