kipnis@janus.berkeley.edu (Gary Kipnis) (06/03/89)
I created my own font using MS-WINDOWS' FONTEDIT, and I could not figure out how to load this font 'into windows' for a file. any pointers will be greately appreciated gary
bturner@hpcvlx.HP.COM (Bill Turner) (06/05/89)
> I created my own font using MS-WINDOWS' FONTEDIT, and I could not >figure out how to load this font 'into windows' for a file. The MS Windows Programmer's Learning Guide (for 2.0) has appendix A that describes fonts, and how to create a .FON file. It is basically a DLL that has no code/data segments, but only font resources. You can also add the font into your own program as a resource (the .FNT file can be used in the .RC file, such as FontName FONT xyzzy.FNT ) and then it is available by using AddFontResource. You might be able to get the font via FindResource/LoadResource, but I'm not certain that this would add the font so that you can create it with CreateFont. --Bill Turner (bturner@hp-pcd.hp.com) HP Corvallis Information Systems