mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 21:10:40 +00:00
The editing-data writer wrote a run's key 35 only for Tate-chu-yoko (3). Type with Standard Vertical Roman Alignment, on or off, was saved with no key, so the setting was lost from the editing data. Every run now carries key 35 in the form the reader reads it (crates/eps/src/import/ate.rs, Texts::style, lines 669-670): 1 when the setting is on, 2 when it is off and 3 for Tate-chu-yoko. The document's defaults and the normal character style carry 1. Key 35 holds one value, so a run with both Tate-chu-yoko and the setting is written as Tate-chu-yoko, and the save reports the type attributes warning for it. - writer/texts.rs: baseline_direction() gives each run's value; normal_char() writes 1; loses() and TYPE_ATTRIBUTES name the setting. - tests.rs: a vertical and a horizontal object with the setting on, off and Tate-chu-yoko come back the same through the reader, lay out as before, and carry the expected keys; a run with both is reported. - docs/file-format-parity.md: the .ai save section lists the written values.