home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
f
/
fontmgr2
/
!FontMGR2
/
TechText
/
Scripts
< prev
next >
Wrap
Text File
|
1994-11-29
|
4KB
|
178 lines
!FontManager release two script format.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!Note! -> FILETYPE : &3f8.
-----------------------------------------------
The new scripts
~~~~~~~~~~~~~~~
This document describes the format for the
current release and version of !FontMGR.
Previous to release 2 the format was rather
messy, and I have decided to make those files
void now because of the huge improvement.
I may release a piece of software to convert
to the new file format @ some later date. If
you need it urgently please contact me and I
will consider doing it soon.
The new format is a script one, so you can
edit in a text editor or wordprocessor. This
*WILL* make it easier for you to edit files,
and create files. The current format will be
added to if required - THIS MEANS THIS IS
MOST LIKELY PERMANENT -. Also third parties
are welcome to have their applications export
font manager scripts.
Please use the supplied icon however.
-----------------------------------------------
Below is an example file generated by !FontMGR2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FMGR
# This file is a script for Font Manager release two version 0.050
# Generated by !FontMGR2 version 0.050.
# Date stamp : Sun Jul 31 15:52:50 1994
*FILE_VERSION* : 0.01
*FLAGS*
{
FONTINSTALL : NO
ALL_ACTIVE : NO
IMMEDIATE_CHANGES : YES
SAVE_STATUS_ON_QUIT : YES
UNLIMITED_PATHS : YES
OVERWRITE_FILES : YES
EXPORT_AS_FILER_DIRECTORY : NO
EXPORT_AS_FONT_DIRECTORY : YES
INSTALL_ON_VIEWING : YES
}
*GROUPS*
{
Script
JustTestin
MuttonBird
Unique
Wail
General
}
*SELECT* : Script
*GROUP_ORDER*
{
Wail
General
Script
JustTestin
MuttonBird
Unique
}
*END*
-----------------------------------------------
Discussion on the above file.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The initial 'FMGR' signifies that a FontMGR2
file is being considered - it is therefore
essential!
Any comments come next preceeded by a '#'
The file version is set at 0.01 for now. This
most likely won't change.
Next is the configuration flags. If you have
used !FontMGR2 then this will be obvious.
The next item, '*GROUPS*' is to describe which
groups are active.
The '*SELECT*' item is to describe which group
is the selected one.
The last item, with the exception of the '*END*'
marker is the '*GROUP_ORDER*' one. This is
obviously used to define the order that groups
should be in.
At the end it is imperitive that you include the
'*END*' marker or else...
One important thing to note is the indentations,
because they are *NOT* optional! They are one
space where required. Please refer to the
above example to see this important feature of
Font Manager files.
-----------------------------------------------
Using the File Format - can I?
~~~~~~~~~~~~~~~~~~~~~
By giving you, the public a full description of
this very very simple file format I hope that
you will feel free to include the exporting of
Font Manager scripts from your applications.
--==> PLEASE USE THIS FILE FORMAT !!! <==--
Also, it is essential that you maintain the
file's iconsprite, and keep it attached to the
filetype. DO NOT CREATE YOUR OWN!!!!
I am aware of third-parties writing commerical
font managers and I would be only too happy for
them to also use this file format, and the
font hunter feature below. However please do
not 'add' features to the file format without
discussing the change with me first.
-----------------------------------------------
The Font Hunter
~~~~~~~~~~~~~~~~
The 'font hunter' feature is primarily designed
to help programmers get their applications to
integrate with FontMGR2. Below is an example
of how it might appear in a file.
*FONTS*
{
NewYorker
Folio
Futura1
Olivia
}
It's layout is similar to the "*GROUPS*" item.
When the script is being 'read' by !FontMGR2,
any groups that contain the listed fonts are
turned on.
This is the 'engine' of application support
of !FontMGR2 and also is the means by which
DocScan works.
This may also be useful for people moving files
from computer to computer. Saving a "*FONTS*"
version of a script is now supported via the
Font Manager 2 interface.
-----------------------------------------------