Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize border or qr code at footer #3253

Open
mezzomokaue opened this issue Jul 1, 2024 · 7 comments
Open

Customize border or qr code at footer #3253

mezzomokaue opened this issue Jul 1, 2024 · 7 comments
Labels
feature-request New feature request

Comments

@mezzomokaue
Copy link

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 mezzomokaue added the bug Something isn't working label Jul 1, 2024
@github-project-automation github-project-automation bot moved this to 0. Needs triage in Roadmap Jul 1, 2024
@vitormattos
Copy link
Member

vitormattos commented Jul 1, 2024

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
Copy link
Member

vitormattos commented Jul 1, 2024

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 vitormattos added feature-request New feature request and removed bug Something isn't working labels Jul 1, 2024
@vitormattos vitormattos changed the title Problem with qr code layout Customize border or qr code at footer Jul 1, 2024
@mezzomokaue
Copy link
Author

How does this corporate support work?

@vitormattos
Copy link
Member

@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.

@mezzomokaue
Copy link
Author

Showw

@rodsmar
Copy link

rodsmar commented Jul 4, 2024

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)!

@tmlmt
Copy link

tmlmt commented Jul 10, 2024

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?

private const MIN_QRCODE_SIZE = 100;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request
Projects
Status: 0. Needs triage
Development

No branches or pull requests

4 participants