linebender / skribo

A Rust library for low-level text layout.
Apache License 2.0
326 stars 36 forks source link

Fixed out of bond error #40

Closed J0sueTM closed 3 years ago

J0sueTM commented 3 years ago

Basically the function I modified returned the first parameter of a Vector but did not check if it was really created. In my case, neovide couldn't run since skribo was raising an out of bound error.

I suggest adding a warning like "Skribo could not find fonts" or whatever.

Also, please remove the commit where I added myself to the AUTHORS list. Hadn't read about "substantive commits"