Commit 2067d8a6 authored by Christian Persch's avatar Christian Persch

widget: Allow setting font-scale before realize

parent b87ccc6f
......@@ -7520,6 +7520,10 @@ vte_terminal_update_font(VteTerminal *terminal)
PangoFontDescription *desc;
gdouble size;
/* We'll get called again later */
if (pvt->unscaled_font_desc == NULL)
return;
desc = pango_font_description_copy(pvt->unscaled_font_desc);
size = pango_font_description_get_size(desc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment