font rendering

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Suntor
Posts: 16
Joined: 2020-03-22T19:04:47-07:00
Authentication code: 1152

Re: font rendering

Post by Suntor »

magick wrote:
2020-05-08T06:20:39-07:00
We added the patch as you recommended in the ImageMagick master branch. Thanks.
I installed v7.0.10-12. The result became even worse, the symbols shifted even more, and still are merged.
Image

I checked the source, and immediately saw the missed «plus» in line 1646.
[ImageMagick-7.0.10-12.7z\ImageMagick-7.0.10-12\ImageMagick\MagickCore\annotate.c]
Image
Compare with my fix:
Image

User avatar
dlemstra
Posts: 1625
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: font rendering

Post by dlemstra »

Thanks for reporting this (and your patience) We have applied the patch in this commit: https://github.com/ImageMagick/ImageMag ... 70930bc518. This will become available in 7.0.10-13.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate

Suntor
Posts: 16
Joined: 2020-03-22T19:04:47-07:00
Authentication code: 1152

Re: font rendering

Post by Suntor »

dlemstra wrote:
2020-05-17T04:04:23-07:00
Thanks for reporting this (and your patience) We have applied the patch in this commit: https://github.com/ImageMagick/ImageMag ... 70930bc518. This will become available in 7.0.10-13.
I installed v7.0.10-13. The result with artifacts as in old versions without FT_LOAD_RENDER fix.
Image
...
Image

I checked [ImageMagick-7.0.10-13.7z\ImageMagick-7.0.10-13\ImageMagick\MagickCore\annotate.c],
and found missed FT_LOAD_RENDER flag in line 1521:
Image
And no «point.x += ...» fix in line 1646:
Image

Compare with my:
Image
...
Image

Locked