Page 1 of 1

Feature request: miter joins for text rendering

Posted: 2012-04-01T13:51:14-07:00
by regularuser
There's miter joins support for the draw operator but none that I can find for the stroke operator for text. There is no method for clean sharp edges for stroke paths. For example:

Code: Select all

convert -size 256x256 xc:lime \
        -draw 'gravity center font Impact-Regular font-size 200
               stroke-width 50 stroke-linejoin miter
               stroke black fill black text 0,0 "LY"
               stroke transparent fill white text 0,0 "LY"' \
        -depth 8 round-stroke.png

Re: Feature request: miter joins for text rendering

Posted: 2012-04-01T17:19:37-07:00
by anthony
Text rendering is actually done by a external deleagate library and not by ImageMagick itself.

I am not certain if the miter attribute can even be passed to this library! I am not familier with that API interface myself.