Fix tests
This commit is contained in:
parent
c3cd24dc97
commit
85ac473056
2 changed files with 16 additions and 5 deletions
|
|
@ -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
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue