[3/3] gdiplus: Make GdipMeasureCharacterRanges/GdipMeasureString/GdipDrawString add extra space around the text.

Dmitry Timoshkov dmitry at baikal.ru
Fri Aug 24 10:28:56 CDT 2012


Vincent Povirk <madewokherd at gmail.com> wrote:

> >> I don't think we should make MeasureString/DrawString
> >> resolution-independent because that also makes native's text
> >> incredibly ugly, and would greatly increase the complexity of
> >> gdip_format_string.
> >
> > That sounds like a pure guess, not related to my patches.
> 
> Nope, I read about it here: http://support.microsoft.com/kb/307208
> 
> And since it's the rationale for the padding and the reason we can't
> duplicate native's measurements exactly, I think it's relevant to the
> discussion.

IMHO the whole "resolution-independent" term in that article is a pure
speculation to justify inventing and adding new shiny technology to Windows.
GDI32 does all its rendering in "resolution-independent" manner just fine
for a very long time already.

-- 
Dmitry.



More information about the wine-devel mailing list