Most text glyphs draw as filled boxes in the menus #6
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@LakshanSivakumar on GitHub · 2026-11-26 07:18 UTC · original
What happens: on the menus after the start screen (e.g. "FINISH SETUP?"), most letters of the body text draw as solid boxes, so a sentence reads like "Th□ d□f□□lt c□□tr□ls...". Some glyphs render correctly, and headings in the bold condensed font and the button prompts render fine.
Seen in: dumps of the 3840x2160 UI target (
VICTORY_DUMP_TARGETS) on native/join-2 after the first-frame fix, at about 46-48 s withVICTORY_KEYSpressing Enter. Screenshots are in #5.Likely area: the font atlas texture or its sampling, not geometry, since the boxes sit exactly where the glyphs belong. Candidates:
crates/victory-formats);How to start: compare a correctly drawn glyph with a boxed one: same pixel shader, different texture? Dump the atlas texture the text draw samples and check whether its contents decode to glyph shapes.
See docs/ROADMAP.md section 1 and the "First real frame" section of docs/native-host.md.
@LakshanSivakumar on GitHub · 2026-11-26 07:20 UTC · original
Update: with A8/R8 texture formats added (the menu atlas is A8 2048x2048), the pattern is clearer. The letters that draw as boxes are exactly the ones with no ascender or descender (a c e m n o r s u v w x z); letters with them render correctly. First suspect: stencil-then-cover text rendering. The game never calls ClearDepthStencilView, and the host drops stencil-only clears, so stencil state left over from earlier glyphs could fill the x-height boxes.
@LakshanSivakumar on GitHub · 2026-11-26 09:22 UTC · original
Fixed: glyphs render correctly in the menus now (blend state comes from the register image, plus hot-texture probing for glyph caches).