Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.HP.COM (Bill Turner) Newsgroups: comp.windows.ms Subject: Re: using your own fonts Message-ID: <106580042@hpcvlx.HP.COM> Date: 5 Jun 89 16:19:00 GMT References: <29447@ucbvax.BERKELEY.EDU> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 18 > 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