Update DPI value once auto-detected.

This commit is contained in:
Dave Davenport 2017-06-26 20:14:51 +02:00
parent ee9f5f71c1
commit 3556f65198
1 changed files with 1 additions and 0 deletions

View File

@ -711,6 +711,7 @@ void __create_window ( MenuFlags menu_flags )
g_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 );
config.dpi = dpi;
}
// Setup font.
// Dummy widget.