The ascent and height was negative

This commit is contained in:
smallsql 2009-05-31 20:18:09 +00:00
Родитель d3ad771d0c
Коммит e0dcc2c034
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -82,7 +82,7 @@ public class PhysicalStrike extends FontStrike{
float height = family.GetLineSpacing(style) * factor;
float leading = height - ascent - descent;
strike = new StrikeMetrics(
0, ascent,
0, -ascent,
0, descent,
0.25f, 0,
0, leading,