Can't use newly installed fonts

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
Posts: 6
Joined: 2017-09-24T19:28:03-07:00
Authentication code: 1151

Can't use newly installed fonts

Post by jb2233 » 2019-04-30T19:14:32-07:00

I have just installed IM on a new PC Win 10 pro 64 bit 16GB.

D:\>magick -version
Version: ImageMagick 7.0.8-42 Q16 x64 2019-04-24
Copyright: Copyright (C) 1999-2018 ImageMagick Studio LLC
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg lcms lqr lzma openexr pangocairo png ps raw rsvg tiff webp xml zlib

I have also installed 18 Roboto family fonts, they can be used by other windows applications such as Excel, Word, etc.

However, when I attempt to use one of them with IM I get:
magick.exe: unable to read font `c:\program files\dell\supportassistagent\bin\app\content\fonts\roboto-medium.ttf' @ error/annotate.c/RenderFreetype/1383.

When I copy the fonts to the dell folder above they can be used normally by IM.

Is this a known issue? Does something have to be done for IM to recognise these fonts? Or is it something to do with the fonts themselves?

Many thanks,

Partial output from "magick -list font" command.

Normal font
Font: Ravie
family: Ravie
style: Normal
stretch: Normal
weight: 400
glyphs: c:\windows\fonts\ravie.ttf

Newly installed fonts
Font: Roboto
family: Roboto
style: Normal
stretch: Normal
weight: 400
glyphs: c:\program files\dell\supportassistagent\bin\app\content\css\theme\fonts\roboto-regular.ttf
Font: Roboto-Black
family: Roboto
style: Normal
stretch: Normal
weight: 900
glyphs: c:\program files\dell\supportassistagent\bin\app\content\fonts\roboto-black.ttf

Post Reply