[=PATCH v5 2/2] gdiplus: In GdipPrivateAddMemoryFont allow loading fonts with long names
Fabian Maurer
dark.shadow4 at web.de
Mon Nov 20 13:11:33 CST 2017
On Montag, 20. November 2017 18:38:14 CET Nikolay Sivov wrote:
> On 20.11.2017 20:36, Vincent Povirk wrote:
> >> v5
> >> Don't cleanup family, since GdipDeletePrivateFontCollection already seems
> >> to do that>
> > It'd be nice to follow up on this. Currently, our
> > GdipGetFontCollectionFamilyList clones all the families, which would
> > be leaking them. We can't check whether they're being freed, but we
> > can check whether calling the function multiple times gives us the
> > same pointer.
>
> I actually have a patch for that, for system collection it returns new
> pointer second time you call it.
Is it different for private collections, like in this case? Because if the family is freed in the
patch I send, then calling GdipDeletePrivateFontCollection crashes.
Regards,
Fabian Maurer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20171120/13d33f8b/attachment.html>
More information about the wine-devel
mailing list