# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1318793170 0 # Node ID 4a7a9f102a5f381315372dde684c3e959703273c # Parent 75a773cdb626643e9280ca53a4ba210f6d541e58 Fix for dw_font_text_extents_get() not on Windows honoring the font set with dw_pixmap_set_font(). diff -r 75a773cdb626 -r 4a7a9f102a5f win/dw.c --- a/win/dw.c Sun Oct 16 19:12:53 2011 +0000 +++ b/win/dw.c Sun Oct 16 19:26:10 2011 +0000 @@ -8641,6 +8641,11 @@ else return; + if(pixmap && pixmap->font) + { + hFont = pixmap->font; + } + else { ColorInfo *cinfo;