plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit ed959cfba326356a5cdea1a12c8ac17b5365486c
parent f3ed5754b1c4ccc616afb1fbb1ce65e1f8f29808
Author: iru- <iru.muzgo@gmail.com>
Date:   Tue, 13 Nov 2018 21:01:04 -0800

fontsrv: increase x11 font height scale (#111)


Diffstat:
Msrc/cmd/fontsrv/x11.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;