Files
AniCraft/crates
Rob CoenenandClaude Opus 5.5 2db8e12d65 feat(fla): decode static and dynamic text records
CPicText records decode into the same text blocks the XFL importer makes of
their twins' DOMStaticText / DOMDynamicText: matrix, bounds, autoExpand,
static vs dynamic single/multiline from the field flags, runs with face,
size, colour and alpha, bold/italic, alignment, letter/line spacing,
indent, superscript, target, render mode and anti-alias thickness. The
512-unit storage pieces of one run merge back as XFL shows them, texts
without characters read their one attribute block, and the header and
trailer strings go through a full MFC CArchive CString reader (with the
FF FE FF FF <u16> long form). Unknown values are approximated and counted;
a record whose structure isn't a text's is refused whole.

Corpus (env-gated): 372/372 records decode and pair with their twins,
372/372 element-level and 667/667 run-level field checks, the one known
1-twip bounds difference tolerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:31:19 +01:00
..