Truncate Y coordinate in LayoutGlyph::physical
This commit is contained in:
parent
eb09cf0259
commit
c3cd24dc97
2 changed files with 2 additions and 2 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,
|
||||
((self.y - y_offset) * scale + offset.1).trunc(), // Hinting in Y axis
|
||||
),
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue