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

Somtimes weird renderings #129

Open
CheeseTastisch opened this issue Mar 27, 2023 · 4 comments
Open

Somtimes weird renderings #129

CheeseTastisch opened this issue Mar 27, 2023 · 4 comments

Comments

@CheeseTastisch
Copy link

I'm trying to create a QR code with some text in it.
When trying, sometimes the QR code gets corrupted. (For example with a simple 'b' or 'A').

I tested some characters and found that 'a', 'c', '/' and 0-9 worked. However, 'A', 'b' and 'd' do not work.
Such QR codes look something like this:

grafik
In this example a 'b'.

My writer is created as follows:

$writer = new Writer(new ImageRenderer(new RendererStyle(100, 0, null, null, Fill::default()), new SvgImageBackEnd))

then I use it with $writer->writeString('...');.

Thanks for your help in advance.

@DASPRiD
Copy link
Member

DASPRiD commented Mar 27, 2023

Can you create a reproduction-case in codesandbox?

@CheeseTastisch
Copy link
Author

I did some more testing and found out, that on my Laptop (macOS) it works fine, only my PC (Windows) makes problems. Are there any known issues with Windows?

@DASPRiD
Copy link
Member

DASPRiD commented Mar 28, 2023

There aren't, no.

@DASPRiD
Copy link
Member

DASPRiD commented Mar 19, 2024

It makes even less sense to me, since you are using the SVG renderer. Did you use different browsers/viewers to look at the SVG between Windows and Mac?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants