libresign icon indicating copy to clipboard operation
libresign copied to clipboard

Customize border or qr code at footer

Open mezzomokaue opened this issue 1 year ago • 7 comments

Describe the bug I don't know why, but in some files the QR Code happens to invade the written part of the PDF.

Is there any way to fix or change the layout of the QR Code so this doesn't happen?

image

  • Browser Chrome
  • LibreSign Version 9.1.2
  • Nextcloud Server Version 29.0.1

mezzomokaue avatar Jul 01 '24 18:07 mezzomokaue

This isn't a bug, the qrcode need to have a border to work fine. For now isn't possible to customize the border size but could be a good feature.

I recommend to generate a document with an area at footer to put the qrcode.

vitormattos avatar Jul 01 '24 19:07 vitormattos

Other possible way is reducing the qrcode size.

If you want, we can implement this feature. To do this we can talk about enterprise support.

vitormattos avatar Jul 01 '24 19:07 vitormattos

How does this corporate support work?

mezzomokaue avatar Jul 02 '24 15:07 mezzomokaue

@mezzomokaue I'm Brazilian too.

You can join to group of LibreSign at Telegram and we can talk more about the ways to start a business talk between BR Serviços and LibreCode coop.

vitormattos avatar Jul 02 '24 18:07 vitormattos

Showw

mezzomokaue avatar Jul 03 '24 01:07 mezzomokaue

I've reduced QR MIN SIZE to 30 and fit my docx template, looks very well.

@vitormattos Maybe can you add a parameter in config page to adjust the qr size and text in footer.

Greetings from Tocantins (visit us during the beach season in this July)!

rodsmar avatar Jul 04 '24 00:07 rodsmar

I agree this would be a great feature. A temporary quick "fix" could be to reduce from 100 to something like closer to the height of the text itself. Most PDFs get invaded by the huge QR code which is currently added.

I've reduced QR MIN SIZE to 30 and fit my docx template, looks very well.

Do you mean that you've manually changed this value in the file? https://github.com/LibreSign/libresign/blob/df5923a0fe00210419457dabe4170a6c54efa31a/lib/Handler/FooterHandler.php#L37

tmlmt avatar Jul 10 '24 21:07 tmlmt