[Bug 49244] GdipDeleteFontFamily is declared, but does nothing

WineHQ Bugzilla wine-bugs at winehq.org
Tue May 26 20:48:18 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49244

--- Comment #4 from Esme Povirk <madewokherd at gmail.com> ---
It's not clear that this function needs to do anything. We know that for every
installed font there is exactly one FontFamily object, and in all current tests
GdipCloneFontFamily returns the same pointer that was passed in. It wouldn't
make sense to ever free the FontFamily for an installed font.

For a private font collection, it's less clear, should each font family have
its own lifetime or be tied to the collection? If they have an independent
lifetime, we need reference counting. But it's also possible that they
shouldn't be used after the font collection is destroyed. Until we know for
sure, I think we should take the simpler approach.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list