resend add missing glyph code to GetGlyphIndices
Dmitry Timoshkov
dmitry at codeweavers.com
Wed Aug 23 08:19:56 CDT 2006
"Jeff L" <lats at yless4u.com.au> wrote:
> if(dc->gdiFont)
> - ret = WineEngGetGlyphIndices(dc->gdiFont, lpstr, count, pgi, flags);
> + ret = WineEngGetGlyphIndices(hdc, dc->gdiFont, lpstr, count, pgi, flags);
...
> + GetTextMetricsW(hdc, &textm);
As an additional optimization, probably it would be better to call
WineEngGetTextMetrics instead of GetTextMetricsW to avoid introducing
hdc as another parameter of WineEngGetGlyphIndices.
--
Dmitry.
More information about the wine-devel
mailing list