Feature request: miter joins for text rendering

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
regularuser
Posts: 1
Joined: 2012-04-01T13:32:24-07:00
Authentication code: 8675308

Feature request: miter joins for text rendering

Post 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
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Feature request: miter joins for text rendering

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply