mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-09 22:24:06 +00:00
A widget's /AP /N that is neither a stream nor a state subdictionary with a stream for /AS draws nothing (ISO 32000-2 12.5.5, Table 170), yet the display copy treated any /N as the file's own appearance. Text, choice and push-button widgets whose /N is null, a form XObject dictionary without its stream data, or a subdictionary without /AS now get the drawn appearance a widget without /N gets, and check boxes and radio buttons whose state entry is not a stream are drawn from /MK. The test is the same one the renderer uses to pick the stream. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pq7HyCHD1R3rywQBPCHXZA