0

I would like to be able get the supported characters of a FON font

i am loading the font with AddFontResourceEx from the gdi32.dll

  • It took me quite a while to recall that FON might be a BITMAP font and you are trying a get a LIST of all characters that are represented within. Correct? – Daniel Mošmondor Dec 28 '11 at 23:59
  • yep, i think it is a bitmap font – user1120187 Dec 29 '11 at 00:00
  • 1
    Right, dates back from the previous century. A device font. .NET doesn't do device fonts anymore, there's little point with TrueType around. – Hans Passant Dec 29 '11 at 00:04
  • i was asked to add some error checking to detect when a user enters not supported characters for these fonts we have. – user1120187 Dec 29 '11 at 00:14
  • @user1120187 - According to wiki the fon file is just a collection of bitmap images, so if you can determine the format, you may actually be able to get what you're after. I did a little googling for you but was unable to (quickly) find anything useful. – M.Babcock Dec 29 '11 at 02:37
  • been trying [this](http://stackoverflow.com/questions/103725/is-there-a-way-to-programatically-determine-if-a-font-file-has-a-specific-unicod) and [this](http://stackoverflow.com/questions/1439551/get-supported-characters-of-a-font-in-c-sharp) but havent had any success yet – user1120187 Dec 29 '11 at 03:55

1 Answers1

0

Maybe Fallout has taken FON format from Windows: http://falloutmods.wikia.com/wiki/FON_File_Format

Daniel Mošmondor
  • 19,718
  • 12
  • 58
  • 99