mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
font: bug: bad multiplier when converting from 16.16 fixed float
This commit is contained in:
parent
8f8ef5df0e
commit
719d521e33
1 changed files with 1 additions and 1 deletions
2
font.c
2
font.c
|
|
@ -63,7 +63,7 @@ static void
|
|||
underline_strikeout_metrics(struct font *font)
|
||||
{
|
||||
FT_Face ft_face = font->face;
|
||||
double y_scale = ft_face->size->metrics.y_scale / 65526.;
|
||||
double y_scale = ft_face->size->metrics.y_scale / 65536.;
|
||||
double height = ft_face->size->metrics.height / 64.;
|
||||
double descent = ft_face->size->metrics.descender / 64.;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue