The result of BLI_wcwidth wasn't checked before using the result to calculate a width, this cause a negative return value to be multiplied by the font size which divided by zero.
The result of BLI_wcwidth wasn't checked before using the result to calculate a width, this cause a negative return value to be multiplied by the font size which divided by zero.