a-sit / PDF-Over

https://technology.a-sit.at/en/pdf-over/
European Union Public License 1.2
19 stars 6 forks source link

Enable signature block scaling for all types #4

Open iaik-jheher opened 1 year ago

iaik-jheher commented 1 year ago

(Issue migrated from Gitlab: Internal link)

We currently support scaling for logo signatures (cf. ef930178 209f81ea 58433c6f 8736033b) via a config slider.

I'd like to extend this to all types of signature blocks. I'd also like to make scaling more natural -- dragging the sides/corner of the signature block in the preview/positioning panel, maybe?

Likely not a simple change since it might require re-visiting how we interface with PDF-AS' profile system.
Current profiles hardcode dimensions, and I don't think scaling the entire block is trivial. Having to scale up font size might get ugly.

stefan2904 commented 1 year ago

related: do you think it makes sense to also scale the preview?

iaik-jheher commented 1 year ago

I'm not sure what I'd scale it relative to. Showing it relative to an entire A4 page makes details of the preview impossible to see.