Merge branch 'dorota.czaplejewicz/squeekboard-font_size' into 'font_size'

Cast later to avoid rounding to zero

See merge request dorota.czaplejewicz/squeekboard!1
This commit is contained in:
Dorota Czaplejewicz
2019-08-01 17:23:09 +00:00

View File

@ -553,8 +553,8 @@ eek_renderer_real_render_key_label (EekRenderer *self,
priv->ascii_font :
priv->font);
pango_font_description_set_size (font,
pango_font_description_get_size (font) *
(gint)round(prop->scale * scale));
(gint)round(pango_font_description_get_size (font) *
prop->scale * scale));
pango_layout_set_font_description (layout, font);
pango_font_description_free (font);