GNOME Bugzilla – Bug 428284
one bug in func sys_font_to_pango_font in libwimp
Last modified: 2007-04-13 01:21:52 UTC
Please describe the problem: I found one bug in func sys_font_to_pango_font in libwimp, get_family_name after release hDC, so get_family_name return error, can't get fonts name, so need move to before release hDC. patch as follow: msw_style.c msw_style.c.cvs 465,468d464 < font = get_family_name (&lf, hDC); < if(!(font && *font)) < return NULL; < 477a474,477 > font = get_family_name (&lf, hDC); > if(!(font && *font)) > return NULL; > Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Dupe of bug 404506. Thanks. *** This bug has been marked as a duplicate of 404506 ***