# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1307051296 0 # Node ID 2f79f183ff034f1a25d290d8222701bbbacd59a8 # Parent fadb18121c56949ac41b553a46953910c489eda6 Windows was missing the flag to load the font from the LOGFONT struct when creating the font chooser. diff -r fadb18121c56 -r 2f79f183ff03 win/dw.c --- a/win/dw.c Thu Jun 02 21:42:46 2011 +0000 +++ b/win/dw.c Thu Jun 02 21:48:16 2011 +0000 @@ -4122,7 +4122,7 @@ lf = _get_logfont(currfont); cf.lStructSize = sizeof(cf); - cf.Flags = CF_SCREENFONTS; + cf.Flags = CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT; cf.lpLogFont = &lf; if(ChooseFont(&cf))