http://bugs.winehq.org/show_bug.cgi?id=58314
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- The sample program is asking for a glyph for 0xaf (macron) that does not exist in the font. Linked font is used instead, Tahoma in this case.
Next in freetype_get_glyph_outline() in metrics fixup:
--- metrics.horiBearingY = top; metrics.height = top - bottom; ---
things go wrong and resulting box gets inverted yMin and yMax. This produces negative height later and negative "needed" buffer size.
I don't have time right now to look deeper at what's happening with this metrics adjustment, but that's the problem I think. I don't know if it's a general fixup issue or is caused by a linked font and metrics are mixed up somewhere between the fonts.