summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/view.c b/source/view.c
index 024c41e3..24ea9bcf 100644
--- a/source/view.c
+++ b/source/view.c
@@ -684,6 +684,8 @@ void __create_window ( MenuFlags menu_flags )
else {
dpi = ( xcb->screen->height_in_pixels * 25.4 ) / (double) ( xcb->screen->height_in_millimeters );
}
+
+ g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "Auto-detected DPI: %.2lf", dpi );
PangoFontMap *font_map = pango_cairo_font_map_get_default ();
pango_cairo_font_map_set_resolution ( (PangoCairoFontMap *) font_map, dpi );
}