This project has moved and is read-only. For the latest updates, please go here.
1
Vote

TextKerning works only with negative values

description

Drawables TextKerning works only with negative values and shrink text. But positive values has no effect.

new Drawables()
            .Font(fontName, FontStyleType.Any, action.FontWeight, FontStretch.Any)
            .FillColor(color)
            .FontPointSize(fontSize)
            .TextAntialias(true)
            .TextAlignment(action.Alignment)
            .Text(positionInPixels.X, positionInPixels.Y, text)
            .TextKerning(-5) // -5 works +5 has no effect (but regarding to magic documentation must work)
            .Draw(canvas);

comments

dlemstra wrote May 27 at 7:24 PM

We fixed a bug in ImageMagick and your issue is resolved in the latest version of Magick.NET (7.0.5.800). Can you upgrade to this version and give it another try? Please let me know if this resolves your issue.