mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-12 17:31:35 +00:00
Text drawn inside a Form XObject was one piece of artwork in Edit text & images: HTML-to-PDF output that wraps a block with a translucent picture in a transparency group showed a whole table as a single box with no editable text (#3005). Ungroup (artwork right-click menu; image_edit action ungroup) replaces that placement's Do with the form's content, wrapped as q <Matrix> cm <BBox> re W n ... Q, its resources merged into a copy of the page's under fresh names where they clash (fonts, XObjects, graphics states, colour spaces incl. inline images', patterns, shadings, properties). The form object and its other placements are untouched; a form in a layer keeps it as /OC ... BDC ... EMC. Refused rather than changed: knockout groups, transparency groups that blend inside (used gs, nested forms) or are drawn translucent, blended or soft-masked at the Do (followed per parameter across q/Q and streams), tagged form content, content that can't be decoded strictly or parsed, and unbalanced Q. cos gains Stream::decoded_strict_within for that. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RUNQSPVXx3dDBabRZHAnjz