[cairo-bugs] [Bug 33178] Suggestions for cleaning HFONT handling

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 16 01:12:17 PST 2011


--- Comment #1 from Adrian Johnson <ajohnson at redneon.com> 2011-01-16 01:12:14 PST ---
We can't change the existing API/ABI as this will break applications using

We can improve the documentation to make it clear that the application needs to
unselect the font (either by selecting another font or with RestoreDC) before
calling cairo_win32_scaled_font_done_font() and then destroying the font.

I'm not sure why cairo_win32_scaled_font_select_font() doesn't keep a reference
to the scaled font until cairo_win32_scaled_font_done_font() is called.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the cairo-bugs mailing list