mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 09:21:55 +01:00
On macOS, Copy and Cut put one format on the pasteboard: the text (a type-only copy's text, or the SVG markup with Include SVG Code), else the picture as TIFF. The PDF that the Clipboard Handling PDF setting makes and the SVG that Include SVG Code makes were dropped, so apps that paste vector art got only a TIFF or plain text. After arboard writes the text or the picture, the other formats are now added to the same pasteboard item: the SVG as public.svg-image, the PDF under the system's PDF type and the PNG as public.png, in the order Copy offers them. A type that can't be added is logged, and what arboard wrote still carries the copy. This follows craft-libs' offer/macos.rs. The ownership check still compares the text or picture arboard wrote. The Clipboard Handling sentence for PDF now names Windows and macOS.