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.