[08/10] gdiplus: GdipMeasureString/GdipDrawString should add extra space around the text.

Dmitry Timoshkov dmitry at baikal.ru
Fri Aug 17 00:16:28 CDT 2012


Vincent Povirk <madewokherd at gmail.com> wrote:

> >> Why can't this logic go in gdip_format_string?
> >
> > Because not all of its callers should be affected (GdipMeasureCharacterRanges
> > is one of them).
> 
> How not? If the padding is there when drawing the whole string, it
> affects the positions of individual characters.

Many sources on the net suggest using GdipMeasureCharacterRanges to avoid
extra padding added by GdipMeasureString.

-- 
Dmitry.



More information about the wine-devel mailing list