Game: Text size is not applied the first time a dialogue box is shown in a session #1779

Open
opened 2026-11-19 19:17:25 +00:00 by dyst · 0 comments
Member

Longshot version

v3.0.0-rc.8, and a development build of feat/hook-sites (text speed and text size moved to a hook site, same behaviour).

What happened

With Text size set above Original (175% here), the first time a given dialogue box is shown in a session, such as reading a particular sign for the first time, its text is drawn at the default size. Every later showing of the same box in that session is enlarged as expected.

Steps:

  1. Start the game (a fresh user folder; the repository's kokiri-start save, Kokiri Forest).
  2. Insert menu, Gameplay: set Text size to 175%.
  3. Read a sign you have not read yet this session: the text is the default size.
  4. Read the same sign again: the text is enlarged.

Expected: the text enlarged from the first showing.
Actual: the first showing of each box keeps the default size.

Seen the same way on rc.8 and on the hook-sites build (whose Text size runs the same host code, host/oot_text_size.c, at the same place in the game's code), so it is not new. The cause is not known yet. The host code returns without scaling while a text box's pane is not set up yet, which may be part of it, but that has not been checked.

Where in the game

Kokiri Forest, reading signs.

How often

Every time, for the first showing of a box.

Graphics card and driver version

NVIDIA RTX 3080 10 GB.

CPU, RAM and operating system

Ryzen 9 3900X, 64 GB, Windows 11.

Changes from the defaults

Text size 175%; nothing else.

### Longshot version v3.0.0-rc.8, and a development build of `feat/hook-sites` (text speed and text size moved to a hook site, same behaviour). ### What happened With **Text size** set above Original (175% here), the **first** time a given dialogue box is shown in a session, such as reading a particular sign for the first time, its text is drawn at the default size. Every later showing of the same box in that session is enlarged as expected. **Steps:** 1. Start the game (a fresh user folder; the repository's `kokiri-start` save, Kokiri Forest). 2. Insert menu, Gameplay: set Text size to 175%. 3. Read a sign you have not read yet this session: the text is the default size. 4. Read the same sign again: the text is enlarged. **Expected:** the text enlarged from the first showing. **Actual:** the first showing of each box keeps the default size. Seen the same way on rc.8 and on the hook-sites build (whose Text size runs the same host code, `host/oot_text_size.c`, at the same place in the game's code), so it is not new. The cause is not known yet. The host code returns without scaling while a text box's pane is not set up yet, which may be part of it, but that has not been checked. ### Where in the game Kokiri Forest, reading signs. ### How often Every time, for the first showing of a box. ### Graphics card and driver version NVIDIA RTX 3080 10 GB. ### CPU, RAM and operating system Ryzen 9 3900X, 64 GB, Windows 11. ### Changes from the defaults Text size 175%; nothing else.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot#1779
No description provided.