From 29451a507b0fd0e6949558724d264a22431e1082 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 22 Dec 2021 21:58:15 -0500 Subject: Make missing space smaller The Microsoft paper I was citing actually recommends 1/4 em for ASCII space. Make it so... Update affected tests. --- pango/pangocairo-font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pango') diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c index 5eb385d9..598065c0 100644 --- a/pango/pangocairo-font.c +++ b/pango/pangocairo-font.c @@ -679,7 +679,7 @@ get_space_extents (PangoCairoFontPrivate *cf_priv, { /* See https://docs.microsoft.com/en-us/typography/develop/character-design-standards/whitespace */ - int width = pango_font_get_absolute_size (PANGO_FONT (cf_priv->cfont)) / 2; + int width = pango_font_get_absolute_size (PANGO_FONT (cf_priv->cfont)) / 4; if (ink_rect) { -- cgit v1.2.1