home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
programs
/
fonts
/
a_q
/
fontmgr2
/
!FontMGR2
/
TechText
/
UsingIt
< prev
Wrap
Text File
|
1994-11-29
|
2KB
|
68 lines
Using the Font Manager from your own Applications
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------------------------------------------
Because I have made it so very easy for you to
create your own Font Manager scripts, it should
not be too much trouble to integrate it's
functions into your own applications. What goes
hand-in-hand with this is the freedom I have
given you to supply this application with your
own software packages. This means that you can
be sure the user of your software has !FontMGR2.
--------------------------------------------------
The first means by which you can support
!FontMGR2 is by giving any file formats you
have made to me in writing with some suitable
example files or the editor that made them.
The information will then be used to ensure
!FontMGR2's DocScan can recognise your file
format and process the font use described within
it. I would strongly reccomend you do this!
Otherwise you may choose to support !FontMGR2
yourself...
If <FontMGR2$Dir> doesn't exist, then the user
hasn't got, or has decided not to use !FontMGR2.
Oh well, there is little one can do for such
people!
If <FontMGR2$Dir> does exist then you need to
make a simple script describing which fonts you
wish to FontHunt for such as the one shown below:
FMGR
*FONTS*
{
Bodoni
Caslon
Becker
Revue
}
*END*
Then investiagate the value of "F$Running". If it
is "FALSE" then common sense would tell you
!FontMGR2 isn't currently running. So you need to
execute a command such as the one shown below,
using the SWI "Wimp_StartTask":
<FontMGR2$Dir>.Resources.BootFonts <Wimp$Scrap>
Otherwise you need to execute a command such as
the one shown below via the SWI "OS_CLI":
Filer_Run <Wimp$Scrap>
Please feel free to fax or write to me concerning
"getting this to work".
--------------------------------------------------