diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-12-22 21:58:15 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-12-22 22:33:31 -0500 |
commit | 29451a507b0fd0e6949558724d264a22431e1082 (patch) | |
tree | 07b5f7a78ae1ab65f861edaad924be1a528bb185 /pango | |
parent | 26aadb2508f9022cbfc72e73b558c6791f5d46d9 (diff) | |
download | pango-29451a507b0fd0e6949558724d264a22431e1082.tar.gz |
Make missing space smallersmaller-space
The Microsoft paper I was citing actually recommends
1/4 em for ASCII space. Make it so...
Update affected tests.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pangocairo-font.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |