🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

font resouces in tpw

#84
From: jeff woods
Date: Tue, 28 Jul 1992 02:45
30 lines
1593 bytes
Has anyone had trouble using TPW to generate .FON files?   I have set up
simple code much like the following:

Library MyFonts;
{$D FONTRES 100,96,96: Characters}
{$M 1024,0}
{$R MyFonts}
BEGIN
END.

Where MyFonts.RES is a Font Resource created by Borland's Resource
Workshop 1.03.   I rename the resulting .DLL to MYFONTS.FON as told, and
then in the code try to issue an AddFontResource('D:\PATH\MYFONTS.FON');
and the return value is ALWAYS 0 (no fonts added to the system font
table).  If I try to load a .FON compiled elsewhere, such as a MS Font
(i.e. SSERIFF.FON) it loads the proper fonts.   Third party librarys
compiled under C seem to work as well.   Others using TPW seem to have
no problem, including the congregation on CIS.   I'm tapped -- any
clues?   Thanks for your help!  I'd rather not have to go to an external
font development kit...

Jeff Woods     |  CIS:  71035,2167  |  Internet:   Jeff.Woods@canrem.com
Telix Support  |  Fido: 1:259/403   |  Direct BBS: 416-439-9399 v.32bis

Jeff Woods

 * DeLuxe2 1.20 #171s * Was Jimi Hendrix's modem a Purple Hayes?
--
Canada Remote Systems  - Toronto, Ontario/Detroit, MI
World's Largest PCBOARD System - 416-629-7000/629-7044
Technical Details
Message-ID: <199227.1504.9674@dosgate>
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!canrem!dosgate![jeff.woods@canrem.com]

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!canrem!dosgate![jeff.woods@canrem.com]
From: "jeff woods" <jeff.woods@canrem.com>
Newsgroups: comp.windows.ms.programmer
Subject: font resouces in tpw
Message-ID: <199227.1504.9674@dosgate>
Date: 27 Jul 92 21:45:15 EST
Reply-To: "jeff woods" <jeff.woods@canrem.com>
Distribution: comp
Organization: Canada Remote Systems
Lines: 30