diff --git a/windows/font.c b/windows/font.c index 5eecc7264..7258eaf79 100644 --- a/windows/font.c +++ b/windows/font.c @@ -27,6 +27,7 @@ #include #include +#include "utils/log.h" #include "utils/nsoption.h" #include "utils/utf8.h" #include "desktop/font.h" @@ -148,6 +149,7 @@ static bool nsfont_width(const plot_font_style_t *style, ReleaseDC(NULL, hdc); return true; } + LOG("nsfont_width failed"); font = SelectObject(hdc, fontbak); DeleteObject(font); ReleaseDC(NULL, hdc);