a-shell icon indicating copy to clipboard operation
a-shell copied to clipboard

ImageMagick Font Problem

Open Nvertd opened this issue 1 year ago • 2 comments

When Trying to list fonts by using convert -list fon, nothing returns. And when using any commands such as -draw or label: that requires fonts the following message appears

convert: delegate library support not built-in
'IMG_9946. jpeg' (XML)@warning/profile.c/Valid ateXMPProfile/1938.

Nvertd avatar Dec 26 '24 08:12 Nvertd

Thanks for raising this issue. It took me into a deep dive of how ImageMagick stores fonts. For my own future reference:

  • https://stackoverflow.com/questions/1392858/with-imagemagick-how-can-you-see-all-available-fonts
  • https://gothick.org.uk/2008/03/14/using-os-x-fonts-in-imagemagick/

The good news is that I just have to edit the ImageMagick config file (in $APPDIR/ImageMagick-7/config/type.xml) in order to fix this issue. The bad news is that it will require a new version before it is available. The other bad news is that using user-installed fonts is going to be trickier. I'll let you know as soon as the new version is ready.

holzschu avatar Jan 03 '25 19:01 holzschu

The TestFlight version for a-Shell mini now has the fix for this issue: https://testflight.apple.com/join/REdHww5C I'll let you check if it works for your use cases (I've been testing a lot, but you will likely find more issues).

holzschu avatar Jan 04 '25 15:01 holzschu