Skip to content

Commit 8f0c9ff

Browse files
Spelling
1 parent 5ebfdbb commit 8f0c9ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ImageSharp.Drawing/Shapes/Text/PathGlyphBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private void TransformGlyph(FontRectangle bounds)
5050
SegmentInfo pathPoint = this.path.PointAlongPath(bounds.Left + halfWidth);
5151

5252
// Now offset our target point since we're aligning the bottom-left location of our glyph against the path.
53-
// TODO: This is good and accurate when we are vertically alligned to the path however the distance between
53+
// TODO: This is good and accurate when we are vertically aligned to the path however the distance between
5454
// characters in multiline text scales with the angle and vertical offset.
5555
// It would be good to be able to fix this.
5656
Vector2 targetPoint = (Vector2)pathPoint.Point + new Vector2(-halfWidth, bounds.Top) - bounds.Location - this.textOffset;

0 commit comments

Comments
 (0)