Add freetext region type: borderless shout text over art #2

Open
opened 2026-07-21 19:21:47 +02:00 by scarlet · 0 comments
Member

Bare shout text with no bubble (e.g. ch001 p8 この泥棒猫!!!) currently renders as a white pill via the dialogue path. p8 worked out because the text sits on a flat white area, but the general case (text over screentone/art) can't be white-filled.

Proposed: new region type freetext in the schema — rendered as outlined text (white stroke, black fill, like sfx captions but at dialogue size) directly over the region after the original glyphs are removed by the inpainting toolchain (see inpaint issue). Until inpainting exists, freetext on non-white backgrounds falls back to typeset: false + queue.

Touches: references/schema.md, scripts/v0_typeset.py, layout-agent prompt (classification guidance).

Bare shout text with no bubble (e.g. ch001 p8 この泥棒猫!!!) currently renders as a white pill via the dialogue path. p8 worked out because the text sits on a flat white area, but the general case (text over screentone/art) can't be white-filled. Proposed: new region type `freetext` in the schema — rendered as outlined text (white stroke, black fill, like sfx captions but at dialogue size) directly over the region after the original glyphs are removed by the inpainting toolchain (see inpaint issue). Until inpainting exists, `freetext` on non-white backgrounds falls back to `typeset: false` + queue. Touches: `references/schema.md`, `scripts/v0_typeset.py`, layout-agent prompt (classification guidance).
Sign in to join this conversation.
No labels
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
TeamAI/doujin-translator#2
No description provided.