Query font families?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Danack
Posts: 73
Joined: 2013-10-14T10:00:25-07:00
Authentication code: 6789

Query font families?

Post by Danack » 2015-03-09T19:35:09-07:00

Hi,

Currently it's possible to list the fonts available through MagickQueryFonts. Is there any way to query the list of font families available?

Calling DrawSetFontFamily with an invalid font family name does not fail (which is the correct behaviour), but it would be nice for users of the API to be able to detect what font families are usable on a system.

cheers
Dan

Post Reply