fontsrv: increase x11 font height scale (#111)

This commit is contained in:
iru- 2018-11-13 21:01:04 -08:00 committed by Russ Cox
parent f3ed5754b1
commit ed959cfba3

View file

@ -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;