Closed alexheretic closed 3 years ago
I recently reproduced and addressed an index oob panic in ab_glyph_rasterizer, reported https://gitlab.redox-os.org/redox-os/rusttype/-/issues/156.
This PR adds a similar reproduction of that issue for font-rs (test draw_line_index_panic) and all my changes to draw_line. Feel free to close if you're not interested!
draw_line_index_panic
draw_line
I recently reproduced and addressed an index oob panic in ab_glyph_rasterizer, reported https://gitlab.redox-os.org/redox-os/rusttype/-/issues/156.
This PR adds a similar reproduction of that issue for font-rs (test
draw_line_index_panic
) and all my changes todraw_line
. Feel free to close if you're not interested!