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

On the Retina screen of mac, the screenshot is incomplete. #182

Open
jdhaddy opened this issue Aug 14, 2024 · 2 comments
Open

On the Retina screen of mac, the screenshot is incomplete. #182

jdhaddy opened this issue Aug 14, 2024 · 2 comments

Comments

@jdhaddy
Copy link

jdhaddy commented Aug 14, 2024

Thank you for your reply. On the screen with resolution of 1920x1080, the screenshot is correct, but when the same code is on the Retina screen of Mac with resolution of (3072x1920), the screenshot is only partial and incomplete.
The results are as follows: the expected screenshot result is the above picture, and the wrong screenshot result is the following picture.Looking forward to your reply, thank you very much.
image
image

@IDisposable
Copy link
Member

That looks like it's doing some wrapping and thus the captured image is too short (height). Can you please supply a JSFiddle with a simple reproduction? I've just release 3.4.0 which may have already fixed this...

@Josh961
Copy link

Josh961 commented Sep 8, 2024

Ya, having this issue as well with retina displays and emojis at the end of my span tag. Currently investigating and hoping to find a fix.

If I drag my window to my external monitor and generate images, I'm good.

Whenever I drag back to my retina display on my laptop and generate images, I get wrapping.

Screenshot 2024-09-08 at 2 06 19 PM

All of the emojis should be on a single line.

Screenshot 2024-09-08 at 2 08 41 PM

This also only happens in chrome and firefox. Safari renders the emojis properly.

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

3 participants