Speed up GetTextExtentExPointW (Take 3)

Dan Hipschman dsh at linux.ucla.edu
Mon Jul 10 16:40:17 CDT 2006


On Mon, Jul 10, 2006 at 10:12:55PM +0100, Huw Davies wrote:
> There are GetTextExtentPoint entry points in both winex11.drv and
> wineps.drv.  Both of these will need to be updated to
> GetTextExtentExPoint.

Thanks for pointing that out.

> > -    for(idx = 0; idx < count; idx++) {
> > -        get_glyph_index_linked(font, wstr[idx], &linked_font, &glyph_index);
> > +    for (i = 0; i < count; ++i)
> > +    {
> > +        get_glyph_index_linked(font, wstr[i], &linked_font, &glyph_index);
> 
> Please don't add in this sort of change, it just makes the patch even larger.

Oops, let one slip.  Thanks for pointing that out, too.  I'll be sure to clean
it up in my next patch.



More information about the wine-devel mailing list