[3/3] gdiplus: get_log_fontW helper requires a valid graphics object.
dmitry at baikal.ru
Sun Aug 26 23:28:30 CDT 2012
Vincent Povirk <madewokherd at gmail.com> wrote:
> > + GdipFree(backup);
> I think you want GdipDeletePath.
Other places of GdipAddPathString implementation need this fixed as well then.
> This seems very convoluted. Couldn't we just skip the size conversion
> in get_log_fontW when graphics is NULL? Any cases where the scaling
> would produce a size other than the em size need to be fixed in
> GdipAddPathString anyway.
GdipAddPathString already creates an HDC to select hfont into it, so using
graphics object created from it seems pretty straightforward.
More information about the wine-devel