We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ebfdbb commit 8f0c9ffCopy full SHA for 8f0c9ff
1 file changed
src/ImageSharp.Drawing/Shapes/Text/PathGlyphBuilder.cs
@@ -50,7 +50,7 @@ private void TransformGlyph(FontRectangle bounds)
50
SegmentInfo pathPoint = this.path.PointAlongPath(bounds.Left + halfWidth);
51
52
// 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
+ // TODO: This is good and accurate when we are vertically aligned to the path however the distance between
54
// characters in multiline text scales with the angle and vertical offset.
55
// It would be good to be able to fix this.
56
Vector2 targetPoint = (Vector2)pathPoint.Point + new Vector2(-halfWidth, bounds.Top) - bounds.Location - this.textOffset;
0 commit comments