You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
LAYOUT and MLINESTYLE field lists do not close on their measured budgets (41 records) #39
LAYOUT (0x52, 31 records on the corpus). A LAYOUT record embeds the PLOTSETTINGS field list ahead of its own. examples/audit_string_streams.rs shows five TVs per record — on arc_2013.dwg handle 111 they read ["", "PDFill PDF&Image Writer", "", "", "Layout1"], and on sample_AC1032.dwg the third is the paper size ("ANSI_A_(8.50_x_11.00_Inches)") — so the names are real and recoverable, but the numeric fields between them are not established. objects::acad_plot_settings models only three TVs (page setup, printer config, stylesheet) and is missing the paper-size and plot-view-name slots. Measured budgets from examples/probe_object_layout.rs on arc_2013.dwg: handle 111 → 808 bits, handle 115 → 400, handle 119 → 424.
MLINESTYLE (0x49, 10 records). The documented list TV name, TV description, BS flags, BS fill_color, BD start_angle, BD end_angle, RC num_lines, then per line BD offset / BS color / H does not close on the 442-bit budget of arc_2013.dwg handle 96: with the two names in the string stream, BS 0, BS 0, then a 66-bit BD, that BD's eight little-endian bytes decode to roughly 1e-226 rather than the 90° an MLINESTYLE start angle should be.
Both stay Unhandled rather than being guessed at — see src/objects/mod.rs. Deriving either one is a matter of walking examples/probe_object_layout.rs's bit dump for those handles.
Activity