convert: unable to read font

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
alasdairdf
Posts: 53
Joined: 2012-05-15T04:56:50-07:00
Authentication code: 13

convert: unable to read font

Post by alasdairdf »

I've been having difficulty with the caption command not wordwrapping correctly, the consensus seems to be that this was an issue with the font I was using.

In an attempt to fix this I just spent $100 buying a whole new set of fonts from linotype.com. All are OTF fonts.

For all 3 IM throws the following error:
convert: unable to read font `/root/fb/ram/shared/NewOldEnglish.otf' @ error/annotate.c/RenderFreetype/1123.

It then goes into an endless loop, continually displaying the above error line after line.

"identify -list format | grep font" displays:
DFONT* r-- Multi-face font package (Freetype 2.3.11)
OTF* r-- Open Type font (Freetype 2.3.11)
PFA* r-- Postscript Type 1 font (ASCII) (Freetype 2.3.11)
PFB* r-- Postscript Type 1 font (binary) (Freetype 2.3.11)
TTC* r-- TrueType font collection (Freetype 2.3.11)
TTF* r-- TrueType font (Freetype 2.3.11)

convert --version
Version: ImageMagick 6.7.6-9 2012-05-16 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP


Any ideas?
alasdairdf
Posts: 53
Joined: 2012-05-15T04:56:50-07:00
Authentication code: 13

Re: convert: unable to read font

Post by alasdairdf »

Here is one of the fonts that does not load in IM. It's free for personal use, so should be no problems with my linking to it here:
http://www.forgottenbooks.org/NewOldEnglish.otf
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: convert: unable to read font

Post by anthony »

It loads find for me.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply