Exemple #1
0
 static int CalcHeight(Drawing.FontFamily family, float size)
 {
     return (int)Math.Ceiling(family.GetLineSpacing(Drawing.FontStyle.Regular) * size / family.GetEmHeight(Drawing.FontStyle.Regular));
 }