From ed959cfba326356a5cdea1a12c8ac17b5365486c Mon Sep 17 00:00:00 2001 From: iru- Date: Tue, 13 Nov 2018 21:01:04 -0800 Subject: fontsrv: increase x11 font height scale (#111) --- src/cmd/fontsrv/x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/fontsrv') 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; -- cgit v1.2.3