🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #907

Adding a font to an application

#907
From: Todd Day
Date: Mon, 17 Dec 1990 04:31
22 lines
1370 bytes
I am trying to add a 10 character LCD number font to one
of my applications.  However, I can't seem to get it to
work.  I've linked it into my application via the resource
compiler (I've found some of the strings from the font
header in my .EXE, so I know it's there).  However, whenever
I try to use CreateFont to grab it, it comes back with some
other font.  I really hate the way Windows handles fonts.
Why doesn't it just tell you it couldn't find the font you
were looking for instead of handing you what you didn't
want in the first place?

I don't want to compile it into a system-wide loadable font.
I just want it to go with my application.

Ahhhh...  I think it just hit me...  Do I have to somehow
load it into system font area?  Will Windows be able to find
it in my resource area?  Help!

-- 
Todd Day |   todd@ivucsb.sba.ca.us   |  ucsbcsl!ivucsb!todd

** Ask me about the August, 1991, Gold Rush mini-rallye! **
Technical Details
Message-ID: <1990Dec17.043126.8415@ivucsb.sba.ca.us>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!ucsd!hub.ucsb.edu!ivucsb!todd

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!ucsd!hub.ucsb.edu!ivucsb!todd
From: todd@ivucsb.sba.ca.us (Todd Day)
Newsgroups: comp.windows.ms.programmer
Subject: Adding a font to an application
Message-ID: <1990Dec17.043126.8415@ivucsb.sba.ca.us>
Date: 17 Dec 90 04:31:26 GMT
Organization: QuickSilver Rallye Team, Santa Barbara, CA
Lines: 22