🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
2 messages
2 total messages Started by "Pat Mueller" Tue, 07 Apr 1992 18:05
os/2 font programming
#629
Author: "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)
os/2 font programming
#636
Author: Peter Forsberg
Date: Wed, 08 Apr 1992 08:00
29 lines
1937 bytes
In <9204071816.AA06161@ucbvax.Berkeley.EDU> "Pat Mueller" writes:
>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)
>

Also, the latest number of IBM Personal Systems Developer had an article
on font programming written by Dave Reich, IBM Boca Raton. It should be
quite up to date. I think the number was called "Winter 1992".

Peter
--
Peter Forsberg           E-mail:  peterf@vnet.ibm.com          (primary)
                                  d88-pfo@nada.kth.se        (alternate)
Disclaimer: This posting represents the poster's views, not those of IBM
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads