mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-26 19:19:10 -06:00
font, size, bold, italic, color and align were never read for an added image, so content_update reported success, wrote the same image back, marked the document dirty and added an "Edit content" undo step. They are now refused with an error, as rotate, flip, crop and image already are on text, before anything is applied. Adds automation::text_styling_on_an_image_is_refused_without_an_edit, which fails before this change.