Fix tests

This commit is contained in:
Jeremy Soller 2023-07-06 06:47:12 -06:00
parent c3cd24dc97
commit 85ac473056
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
2 changed files with 16 additions and 5 deletions

View file

@ -72,7 +72,7 @@ impl LayoutGlyph {
self.font_size * scale,
(
(self.x + x_offset) * scale + offset.0,
((self.y - y_offset) * scale + offset.1).trunc(), // Hinting in Y axis
libm::truncf((self.y - y_offset) * scale + offset.1), // Hinting in Y axis
),
);