summaryrefslogtreecommitdiff
path: root/windows/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'windows/font.c')
-rw-r--r--windows/font.c2
1 files changed, 2 insertions, 0 deletions
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 <assert.h>
#include <windows.h>
+#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);