summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-12-23 03:56:30 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-12-23 03:56:30 +0000
commit7d3bd86d58e18c3f0d7f793219bf9e2636a99aa6 (patch)
tree07b5f7a78ae1ab65f861edaad924be1a528bb185 /pango
parent26aadb2508f9022cbfc72e73b558c6791f5d46d9 (diff)
parent29451a507b0fd0e6949558724d264a22431e1082 (diff)
downloadpango-7d3bd86d58e18c3f0d7f793219bf9e2636a99aa6.tar.gz
Merge branch 'smaller-space' into 'main'
Make missing space smaller See merge request GNOME/pango!563
Diffstat (limited to 'pango')
-rw-r--r--pango/pangocairo-font.c2
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)
{