Font Rendering with correct *Hinting*

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?".
Post Reply
f.s.e
Posts: 4
Joined: 2014-03-13T06:55:56-07:00
Authentication code: 6789

Font Rendering with correct *Hinting*

Post by f.s.e »

Hi,

I try and render a label using "convert" ImageMagick 6.8.9-9 Q16 (Ubuntu 16.04 lts):

Code: Select all

convert -fill black -font "PT-Sans-Narrow" -density 96 -pointsize 12 +antialias label:"The quick brown fox jumps over the lazy dog. 1234567890" text.png
Image

using the same font in Windows the Hinting is done correctly:

Image

I already checked and modified:

/etc/fonts/conf.d/10-hinting.conf
/etc/fonts/conf.d/10-hinting-slight.conf

... where I enabled hinting, disabled autohint, switched to hintstyle: hintmedium.
fc-cache -f -v
This should do BCI-like hinting (patent expired) and should be available/default in >16.04.

The font is detected ok, but hinting settings in fontconfig are ignored.

Please help, thank you!
f.s.e
Posts: 4
Joined: 2014-03-13T06:55:56-07:00
Authentication code: 6789

Re: Font Rendering with correct *Hinting*

Post by f.s.e »

Sadly, no reply so far ...
Post Reply