[Bug 38762] Misaki Mincho font is causing division by zero on selection

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 22 15:42:35 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38762

--- Comment #6 from Nikolay Sivov <bunglehead at gmail.com> ---
Okay, so this is what I think happens. Misaki Mincho has exactly one size of
embedded bitmaps, its metrics are:

---
...
Horizontal Line Metrics
               Ascender:    8
              Descender:    8
...
---

and this is a freetype snippet that calculates height from EBLC:

---
        metrics->ascender  = (FT_Char)strike[16] * 64;  /* hori.ascender  */
        metrics->descender = (FT_Char)strike[17] * 64;  /* hori.descender */
        metrics->height    = metrics->ascender - metrics->descender;
---

I'm not sure what's a best place to fix this yet.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list