2

How can I check if a weirdo character I'd like to use is included in the used font?

h0b0
  • 1,802
  • 1
  • 25
  • 44

1 Answers1

2

Try using GetFontUnicodeRanges (from gdi32.dll), and then checking the GLYPHSET that is returned.

GetGlyphIndices is supposed to return 0xffff for non-existant glyphs (if called with the GGI_MARK_NONEXISTING_GLYPHS flag), but I've seen a report that it is broken, so you should probably avoid it.

Todd Owen
  • 15,650
  • 7
  • 54
  • 52