arithmetic operation overflow
Created by: Maxjen
I am getting an 'arithmetic operation overflowed' panic and the compiler is pointing me to this line. The example code I attached in issue #7 (closed) triggers it.(after cargo update)
It seems to be related to kerning, because the code works if I comment the following lines out:
for c in string.chars() {
for c_other in string.chars() {
let kerning = font.pair_kerning(scale, c, c_other);
if kerning != 0.0 {
println!("kerning {} {} {:.10} ", c, c_other, kerning);
}
}
}