diff --git a/packages/canvas/src-native/canvas-native/canvas-2d/src/context/drawing_text/mod.rs b/packages/canvas/src-native/canvas-native/canvas-2d/src/context/drawing_text/mod.rs index 7d682d1ec..abffbb878 100644 --- a/packages/canvas/src-native/canvas-native/canvas-2d/src/context/drawing_text/mod.rs +++ b/packages/canvas/src-native/canvas-native/canvas-2d/src/context/drawing_text/mod.rs @@ -192,7 +192,7 @@ impl Context { - font_metrics.ascent * HANGING_AS_PERCENT_OF_ASCENT / 100.0; } TextBaseLine::MIDDLE => { - baseline_offset = paragraph.height() / 2.; + baseline_offset = -paragraph.height() / 2.; } TextBaseLine::ALPHABETIC => { baseline_offset = -alphabetic_baseline;