I'm using Imagick to generate simple logos, which are just text on a background.
I'm usually looping through all available fonts, to present the user with a choice of different renderings for every font (one image per font).
The problem is, some fonts don't support the ASCII characters (I think they've been designed for a given language only). And I guess that some of the fonts which support ASCII characters, will fail with non-ASCII characters as well.
Anyway, I end up with images such as these:
Is there a programmatic way in Imagick
to tell whether a given font supports all the characters in a given string?
That would help me filter out those fonts which do not support the text the user typed in, and avoid displaying any garbage images such as the ones above.