You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The QR code generation does fail, depending on the locale if the decimal separator is not defined as a point.
This is caused by the library generating comma separated numbers in places where a point value is expected, for example <g transform="scale(10,811)"> instead of <g transform="scale(10.811)"> on de_DE as the float is transformed with a comma as a decimal separator by the sprintf including it as a string, basically casting float to string in the process.
Imagick png is also affected by the locale, although I haven't figured out exactly why yet.
It looks like #100 partially addressed the issue, a further fix was opened in PR #177 but stalled soon after, and the definitive resolution came with the move to PHP 8.0 — with #218 reverting #100 to avoid trailing zeroes.
Activity
DASPRiD commentedon May 21, 2021
PR #68 tried to address this issue, but the author never followed up on the required changes. Feel free to create a new PR for that.
bardiir commentedon May 24, 2021
#84
dictacode commentedon May 26, 2022
I have the same problem, my app works fine until i change the locale settings.
vlakoff commentedon Mar 16, 2026
It looks like #100 partially addressed the issue, a further fix was opened in PR #177 but stalled soon after, and the definitive resolution came with the move to PHP 8.0 — with #218 reverting #100 to avoid trailing zeroes.