Skip to content

Fix remaining draw_line_scalar index oob panic scenarios - #120

Merged
alexheretic merged 1 commit into
mainfrom
draw-never-oob-panic
Aug 11, 2025
Merged

Fix remaining draw_line_scalar index oob panic scenarios#120
alexheretic merged 1 commit into
mainfrom
draw-never-oob-panic

Conversation

@alexheretic

@alexheretic alexheretic commented Aug 11, 2025

Copy link
Copy Markdown
Owner

Remove all "index out of bounds" panics from draw_line_scalar.

Resolves #119

Remove panicking indexing from draw_line_scalar
@alexheretic
alexheretic merged commit f2e376a into main Aug 11, 2025
2 checks passed
@alexheretic
alexheretic deleted the draw-never-oob-panic branch August 11, 2025 23:27
@alexheretic

Copy link
Copy Markdown
Owner Author

I ran benches locally before/after and they seem equivalent.

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 this pull request may close these issues.

ab_glyph_rasterizer index out of bounds panic in raster.rs

1 participant