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

Image is truncated for some font sizes #20

Open
galdor opened this issue Apr 13, 2024 · 0 comments
Open

Image is truncated for some font sizes #20

galdor opened this issue Apr 13, 2024 · 0 comments

Comments

@galdor
Copy link

galdor commented Apr 13, 2024

I just realized that screenshots are truncated (the image height is not high enough to cover the entire text) for some font sizes. For example I have no problem with 10, but 12 is truncated.

Removing the :height attribute used in screenshot--format-text-only-buffer and screenshot--narrowed-clone-buffer fixes the problem. Of course in that case the text in the temporary buffer uses the font size of the original buffer.

I have no idea what could cause this issue, but you might have an idea :)

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

1 participant