🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #629

os/2 font programming

#629
From: "Pat Mueller"
Date: Tue, 07 Apr 1992 18:05
17 lines
1264 bytes
You can get by with the OS/2 1.3 Programming Guide and the OS/2 1.3
Programming Reference Vol 1.  I'm playing with a program now that
generates metafiles with ATM font-ed text is them.  You need to do a
WinInitialize() to create the hab, but after that you can get by with
just Dev...() and Gpi...() calls, which means you don't need a window
message queue, which means the program will run in text mode.  One
gotcha is that to query the printer capabilities (clip regions for
particular forms your printer supports), you need to figure out what
printers and queues you have on your system.  You need to use Prf...()
calls to determine this, and these require a message queue, so the
program no longer runs in text mode.  I don't know anywhere else this
stuff might be documented besides these two manuals (but there might be
something somewhere).

Patrick Mueller
pmuellr@vnet.ibm.com
Programming Systems, IBM Cary, NC  (919-469-7242)
Technical Details
Message-ID: <9204071816.AA06161@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ucbvax!VNET.IBM.COM!pmuellr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ucbvax!VNET.IBM.COM!pmuellr
From: pmuellr@VNET.IBM.COM ("Pat Mueller")
Newsgroups: comp.os.os2.programmer
Subject: os/2 font programming
Message-ID: <9204071816.AA06161@ucbvax.Berkeley.EDU>
Date: 7 Apr 92 18:05:20 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 17