After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 428284 - one bug in func sys_font_to_pango_font in libwimp
one bug in func sys_font_to_pango_font in libwimp
Status: RESOLVED DUPLICATE of bug 404506
Product: gtk+
Classification: Platform
Component: Backend: Win32
2.10.x
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-04-10 16:35 UTC by vcc
Modified: 2007-04-13 01:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description vcc 2007-04-10 16:35:01 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:
Comment 1 Dominic Lachowicz 2007-04-13 01:21:52 UTC
Dupe of bug 404506. Thanks.

*** This bug has been marked as a duplicate of 404506 ***