Fix y offset

This commit is contained in:
Jeremy Soller 2022-10-07 10:16:22 -06:00
parent cf43655357
commit 10870f3c81
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE

View file

@ -35,7 +35,7 @@ impl<'a> FontShapeGlyph<'a> {
font_size as f32,
ab_glyph::point(
x + x_offset,
y + y_offset,
y - y_offset,
)
)
);
@ -45,7 +45,7 @@ impl<'a> FontShapeGlyph<'a> {
.scaled(rusttype::Scale::uniform(font_size as f32))
.positioned(rusttype::point(
x + x_offset,
y + y_offset,
y - y_offset,
));
#[cfg(feature = "swash")]