Merge branch 'font-size' into 'squeekboard'

hack: Adjust font size

See merge request Librem5/squeekboard!15
This commit is contained in:
Dorota Czaplejewicz
2019-07-01 15:41:10 +00:00

View File

@ -637,7 +637,7 @@ eek_renderer_real_render_key_label (EekRenderer *self,
size = calculate_font_size (self, base_font, FALSE); size = calculate_font_size (self, base_font, FALSE);
priv->font = pango_font_description_copy (base_font); priv->font = pango_font_description_copy (base_font);
pango_font_description_set_size (priv->font, size); pango_font_description_set_size (priv->font, size * 0.6);
} }
eek_element_get_bounds (EEK_ELEMENT(key), &bounds); eek_element_get_bounds (EEK_ELEMENT(key), &bounds);