mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-05-09 08:25:29 +02:00
[GH-ISSUE #114] printing layout problem #63
Labels
No labels
bug
enhancement
pull-request
question
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/unifi-voucher-site#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @John34500 on GitHub (Jan 8, 2026).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/114
Originally assigned to: @glenndehaan on GitHub.
The problem
Hi,
I have a problem when I want to print a PDF ticket in French: the layout is bad, while in English there are no issues. In French, the QR code overlaps the login text and is spread over two pages.
What version of UniFi Voucher Site has the issue?
8.6.2
What was the last working version of UniFi Voucher Site?
No response
What type of installation are you running?
Docker
Anything in the logs that might be useful for us?
Additional information
No response
@glenndehaan commented on GitHub (Jan 8, 2026):
Hi @John34500,
I can replicate the problem. And it is related to the first line of the voucher that breaks all offsets:
Code de connexion WiFi. Unfortunately I can't fix the layout itself, since the PDF library requires me to work with fixed points.My suggestion would be to see if we can shorten this text. I don't speak French so I can't help with that. If you think there is a better translation that could resolve the layout issue I would recommend you to contribute it via Crowdin: https://github.com/glenndehaan/unifi-voucher-site#translations