Search found 16 matches

by Suntor
2020-05-17T23:54:21-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

Thanks for reporting this (and your patience) We have applied the patch in this commit: https://github.com/ImageMagick/ImageMagick/commit/e3b442c9b71938c1839d3fde37897970930bc518. This will become available in 7.0.10-13. I installed v7.0.10-13. The result with artifacts as in old versions without F...
by Suntor
2020-05-17T03:39:20-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

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. https://i.ibb.co/xL1T74C/test-v7-0-10-12.png I checked the source, and immediately saw the missed «plus» in line...
by Suntor
2020-05-07T19:24:43-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

for /l %i in (8,1,22) do @convert -font Microsoft-Sans-Serif -density 96 -pointsize %i +antialias label:"%i C:\\test.txt" test_%i.png ren test_8.png test_08.png && ren test_9.png test_09.png && convert test_*.png -append test.png && del test_*.png Can you fix this issue of merged 't' and '.' symbol...
by Suntor
2020-04-30T07:36:59-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

Can you rerun your tests with 7.0.10-10? We made some font rendering fixes between those versions. Yes. I downloaded and installed v7.0.10-10. The issue is the same. Need the code fix that I described above. «Courier New» shifted symbols: https://i.ibb.co/VJbwLGk/ascii-Courier-New-Image-Magick-7-0-...
by Suntor
2020-04-30T01:49:10-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

What happens when you change it to: point.x+=(origin.x >> 6); Compare the first two pictures, and the last two pictures in my post 2020-04-29T14:31:39+03:00 . The issue appeared after adding the FT_LOAD_RENDER flag in v7.0.10-4. This results in incorrect character spacing and text distortion. Compa...
by Suntor
2020-04-29T04:31:39-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

ASCII character test (-annotate +2+15 @ascii.txt)... Issue with shift of symbols. «Courier New»: https://i.ibb.co/q7JZ1Df/ascii-Courier-New-Image-Magick-7-0-10-6-interline-spacing-1.gif and «Microsoft Sans Serif»: https://i.ibb.co/P6f5dZR/ascii-Microsoft-Sans-Serif-Image-Magick-7-0-10-6-interline-s...
by Suntor
2020-04-29T04:08:12-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

Suntor wrote:
2020-04-15T01:55:27-07:00
...despite the addition of the FT_LOAD_RENDER flag in v7.0.10-4.
No. The flag FT_LOAD_RENDER affects drawing. This confusion arose because the source code was confused. The FT_LOAD_RENDER flag is not in the source ImageMagick-7.0.10-3.7z, but ImageMagick-7.0.10-3-Q16-x64-dll.exe contains it!
by Suntor
2020-04-15T01:55:27-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

We add to add to enable the FT_LOAD_RENDER flag. Yes, I found it. Not in the v7.0.10-3, but in the next v7.0.10-4, with the «bounds.xMax == 0» label size fix in the same function. It seems that only the fix («+MagickEpsilon») between v7.0.10-2 and v7.0.10-3 affects the font rendering (artifacts, li...
by Suntor
2020-04-14T08:45:18-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

The flag is in the Freetype delegate library. Ok. Thanks. And another question: [ImageMagick-7.0.10-2\ImageMagick\MagickCore\draw.c, 4697] beta=delta.x*(y-q->y)-delta.y*(x-q->x); [ImageMagick-7.0.10-3\ImageMagick\MagickCore\draw.c, 4697] beta=delta.x*(y-q->y)-delta.y*(x-q->x)+MagickEpsilon; Is this...
by Suntor
2020-04-14T06:48:19-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

magick wrote:
2020-04-14T05:28:12-07:00
Freetype does have an option to enable better hinting, disabled by default due to patent issues. That may help.
How can I use this «option»? A specific flag in the source code of ImageMagick to compile custom version? Or some command-line option in the regular one?
by Suntor
2020-04-14T02:57:39-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

magick wrote:
2020-03-31T05:43:59-07:00
We will investigate over the next week or two and see if we can resolve the problem.
Any good news?
by Suntor
2020-03-31T01:14:24-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

Grab the latest beta release of ImageMagick. The mono rendering problem is fixed. I updated the ImageMagick version to 7.0.10.3. The result was much better. Backslashes are drawn, and artifacts on most characters have disappeared. But there were a couple of other problems. Let's try a simple comman...
by Suntor
2020-03-28T00:42:58-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

This means the label must be label:"C:\\\Users\\\Administrator\\\AppData\\\Roaming\\\Microsoft\\\Windows" to render as expected. I don't think this is true: convert -font Courier-New -density 96 -pointsize 10 +antialias label:"C:\Users\Administrator\AppData\Roaming\Microsoft\Windows" label:"C:\\Use...
by Suntor
2020-03-27T04:29:44-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

IM 7.0.5.7 is ancient. I have updated the IM version to the latest ImageMagick 7.0.10-2, containing Freetype 2.10.0. Nothing has changed. Fonts are still drawn with artifacts. The quality is unacceptable. Many characters cannot be recognized. C:\>convert -version | find /i "ver" Version: ImageMagic...
by Suntor
2020-03-23T17:24:14-07:00
Forum: Users
Topic: font rendering
Replies: 32
Views: 12026

Re: font rendering

What version of freetype are you using? C:\>convert -list format | find /i "freetype" DFONT* TTF r-- Multi-face font package (Freetype 2.6.3) OTF* TTF r-- Open Type font (Freetype 2.6.3) PFA* TTF r-- Postscript Type 1 font (ASCII) (Freetype 2.6.3) PFB* TTF r-- Postscript Type 1 font (binary) (Freet...