schoero / swissqrbill

Swiss QR Bill generation in Node.js and browsers
MIT License
156 stars 29 forks source link

IBAN position on the payment part #350

Closed popod closed 2 years ago

popod commented 2 years ago

Hi,

Since v3, I think that the IBAN position (on the payment part) is really to far of it's title.. Why have you done this change ?

-- test

--

If possible, I think that this will be really better to add a more bigger margin (1-2 mm) between "Compte / Payable à" and the IBAN.

Thanks.

schoero commented 2 years ago

Why have you done this change ?

Well, the intention was to match the specifications (Described on page 15). The spacing in v2 was definitely too large, but you are right that the spacing in the current version is too small.

Screenshot 2021-11-11 at 19 34 24

Actually, I have noticed that the spacing of most of the text fields is quite off when I have overlapped the image from the specifications with a generated bill.

I try to fix these issues by getting as close to the specifications as possible.

schoero commented 2 years ago

SwissQRBill v3.1.0 which fixes this issue is now released on npm.