From af4d72416ba0d100f6500a99e4d79d47fedc5c25 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 21 Mar 2016 14:40:12 +0000 Subject: Log nsfont_width failure. --- windows/font.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3