https://bugs.winehq.org/show_bug.cgi?id=38762
--- Comment #9 from Jens Reyer jre.winesim@gmail.com --- Created attachment 55650 --> https://bugs.winehq.org/attachment.cgi?id=55650 avoid divide-by-zero condition for certain font files and warn about it
(In reply to Nikolay Sivov from comment #6)
I'm not sure what's a best place to fix this yet.
Me neither, but in Debian we have attached patch since 1.7.46. It's quite similar to your test patch, just placed 6 lines later in the code (your patch applies to line 5710 today).
Or did you have something completely different in mind?
Is there any reason not to apply one of these patches which prevents division by zero?