SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.

The Southern California OS/2 User Group
USA

SCOUG-HELP Mailing List Archives

Return to [ 21 | November | 2004 ]

<< Previous Message << >> Next Message >>


Date: Sun, 21 Nov 2004 13:29:03 PST8
From: "Steven Levine" <steve53@earthlink.net >
Reply-To: scoug-help@scoug.com
To: scoug-help@scoug.com
Subject: SCOUG-Help: OS2.INI PM_Font_Drivers ?

=====================================================
If you are responding to someone asking for help who
may not be a member of this list, be sure to use the
REPLY TO ALL feature of your email program.
=====================================================

In <41A10259.69CC@peterskye.com>, on 11/21/04
at 01:02 PM, Peter Skye said:

>I have a question. What are the PM_Font_Drivers entries
>("Applications") in OS2.INI? I have

> PMATM
> PMUNIF
> TRUETYPE

This entry lists the font classes that OS/2 can handle and the DLLs that
are responsible to processing them. I've never looked into the interface,
but it is fairly obvious what a font driver needs to do.

>But what uses these DLLs?

The Presentation Manager. What other possibilities are there?

>-- Does each program which uses fonts have to call one or more of these
>DLLS, or are they only used by the operating system?

No. As I discussed, the GUI subsystems provide higher level APIs. Of
course, there's nothing to stop applications from access these DLLs as
long as they know how.

>-- What determines which DLL to use for a particular font? When a new
>font is selected, are all three DLLs called and asked if the DLL can
>handle it? Or is there another OS2.INI entry somewhere that correlates
>font file extensions to the DLLs?

As I discussed, the PM_Fonts keys do encode the font type in the key
value. However, I suspect this is used to prevent collisions. I would
expect the PM subsystem to call each font driver and ask it if it
understands the font.

>I understand the font format vector (ATM, TTF, FON-bitmap). I understand
>that there are different rendering platforms (PM, Java, possibly Win-OS/2
>and XFree86).

FWIW, Java uses the PM rendering components via a JNI interface.

>Now I want to understand how the above-mentioned DLLs fit into
>the system.

The PM knows how to use them. If you want to read code, the FreeType code
is probably a good place to start.

Steven

--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 2.60b #10183 Warp4/FP15/14.093c_W4
www.scoug.com irc.fyrelizard.com #scoug (Wed 7pm PST)
----------------------------------------------------------------------

=====================================================

To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".

For problems, contact the list owner at
"rollin@scoug.com".

=====================================================


<< Previous Message << >> Next Message >>

Return to [ 21 | November | 2004 ]



The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA

Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS RESERVED.

SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group. OS/2, Workplace Shell, and IBM are registered trademarks of International Business Machines Corporation. All other trademarks remain the property of their respective owners.