mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-06 10:47:27 +00:00
- Huffman leaf tables where one code begins another are malformed; the shorter leaf would end the longer code early and misalign the payload. - A model-file end past the input is malformed rather than clipped. - Each schema entry costs one element, so empty programs are not free. - tessellations() carries the globals schema's remaining allowance into the tessellation reader: one stream, one budget. - A face behaviour wider than 16 bits is malformed, not zeroed. - Coordinate arrays that are not whole points are malformed; a partial last normal drops the stored normals, as an unusable normal slot does. - Triangles a TESS_3D's faces emit are charged to the element budget as they are made, since faces may reuse one index range. - TriangleMesh::transformed drops stored normals under a projective matrix (last row not [0, 0, 0, w]). - Placement::tessellation's doc says placements() does not check it against the tessellation section. Each fix has a test, seen failing with the fix reverted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SqmHYx8FiWM5PcsoiErgp9