Article View: comp.windows.ms
Article #1890Re: fonts under mswindows
From: Bill Turner
Date: Fri, 13 Oct 1989 16:37
Date: Fri, 13 Oct 1989 16:37
15 lines
1165 bytes
1165 bytes
I haven't tried to create my own fonts, but FontEdit looks painful... The .FNT files contain the font information. If you add this as a resource to your program (in the .RC file include a line like "myfont FONT myfont.fnt") you should be able to use the font (AddFontResource). The .FON file is a resource-only program file. It has no code, and the .RC file specifies the resources that it contains. It is built the same way you'd build a program (with link4 and rc), but then it is renamed to .FON so noone will try to execute it. The Programmer's Guide (I believe) describes how these are created. Once created, they can be added to the system via Control Panel. --Bill Turner (bturner@hp-pcd.hp.com) HP Corvallis Information Systems
Technical Details
Message-ID:
<106580068@hpcvlx.cv.hp.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!ucsd!ucbvax!hplabs!hp-pcd!hpcvlx!bturnerReferences:
<31875@ucbvax.BERKELEY.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!swrinde!ucsd!ucbvax!hplabs!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.cv.hp.com (Bill Turner) Newsgroups: comp.windows.ms Subject: Re: fonts under mswindows Message-ID: <106580068@hpcvlx.cv.hp.com> Date: 13 Oct 89 16:37:38 GMT References: <31875@ucbvax.BERKELEY.EDU> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 15