aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/fontsrv
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/fontsrv')
-rw-r--r--src/cmd/fontsrv/x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/fontsrv/x11.c b/src/cmd/fontsrv/x11.c
index f93c031e..4137f9ca 100644
--- a/src/cmd/fontsrv/x11.c
+++ b/src/cmd/fontsrv/x11.c
@@ -77,7 +77,7 @@ load(XFont *f)
return;
}
f->unit = face->units_per_EM;
- f->height = (int)((face->ascender - face->descender) * 1.2);
+ f->height = (int)((face->ascender - face->descender) * 1.35);
f->originy = face->descender; // bbox.yMin (or descender) is negative, becase the baseline is y-coord 0
for(charcode=FT_Get_First_Char(face, &glyph_index); glyph_index != 0;