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
using the same font in Windows the Hinting is done correctly:
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!