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

ab_glyph renderer panics with a scale factor > 2 #50

Closed
Friz64 opened this issue Nov 28, 2023 · 0 comments · Fixed by #55
Closed

ab_glyph renderer panics with a scale factor > 2 #50

Friz64 opened this issue Nov 28, 2023 · 0 comments · Fixed by #55

Comments

@Friz64
Copy link
Contributor

Friz64 commented Nov 28, 2023

I set the scale factor in GNOME to 225%, which results in an integer scale factor of 3. When dragging the example window to the screen with the higher scale factor, the program crashes.

thread 'main' panicked at src/title/ab_glyph_renderer.rs:102:40:
index out of bounds: the len is 30051 but the index is 30282
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
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

Successfully merging a pull request may close this issue.

1 participant