https://blog.csdn.net/sinat_24143931/article/details/81028397
为了对齐需要修改部分代码,注释部分为原代码
FT_BBox bbox;
FT_Glyph glyph;
FT_Get_Glyph(slot,&glyph);
FT_Glyph_Get_CBox(glyph, FT_GLYPH_BBOX_TRUNCATE, &bbox);
int height = bbox.yMax - bbox.yMin;
int r = pos.y - (rows-1-i) + (height - slot->bitmap_top);
//int r = pos.y - (rows-1-i) ;