home *** CD-ROM | disk | FTP | other *** search
-
- COMPILE: SPITBOL COLLECT /NE /NS /NL /S=13 /B=20;
-
-
-
-
- COLLECT makes it easy to select characters from different download
- font and to write it to one character set file. You need not go through
- all the hassle, described in the FONTED.DOC files, once you have mastered
- this little utility.
-
- Basically, it is very similyr in its operation to SELECT, but it works on
- download printer font files (.BIN in our examples).
-
- It reads a .SCR file, as SELECT does, but the structure of this file is
- different from SELECT.SCR.
-
- The following rules apply:
-
- - The first line in the COLLECT.SCR file MUST give type information
- on the font to be assembled. The format of this information is identical
- to that in FONTED.CNF, so you can copy the line, describing the type of
- font that you are creating.
- - Empty lines or lines, starting with an asterisk are ignored
- - Valid selection command lines consist of three fields (in sequence),
- separated by an arbitrary number of blanks:
- the decimal ASCII code of the character in the new file
- path and file names of the file, where to take it from
- the decimal ASCII value of the character, under which the character pattern
- is stored in the file.
-
-
- Supposed, you want to extract three characters from different files into a new
- character set, called 'new.bin' (elite characters)
-
- First, write a file (or copy it from a stock of such files) COLLECT.SCR.
-
- Make sure, the first line of the file defines the type of the font correct-
- ly (elite in our example). Your first line should then read:
-
-
-
- EL=27 120 1 27 77=26=30
- * Definition for ELite printing (12 characters per inch)
-
-
- Now add the selection commands. In our example, they might read:
-
- 12 C:\TEXTS\GENERAL\FONTED\FONTS\GREEK.BIN 99
- 13 C:\TEXTS\GENERAL\FONTED\FONTS\SANSERIF.BIN 85
- 14 C:\TEXTS\GENERAL\FONTED\FONTS\UNCIAL.BIN 85
-
- You need not format the line.
-
- Now save your COLLECT.SCR script file, and run the program. Make sure, the program,
- the script file and all font reside in the correct directories, and type
-
- COLLECT new.bin
-
- As a result, you should get a new font file that you should load into
- FONTED, to see, if everything has worked correctly.
-
- With COLLECT, you can keep batch files that assemble new fonts from smaller
- peaces. This is especially useful, if you use the same characters in different
- character sets. Instead of editing them all over, use a strategy that
- resembles the MAKE process, familiar to C programmers.
-
- Burkhard Meißner
- Friedheim 86 Ringstraße 23
- 2390 Flensburg 8521 Spardorf
- West-Germany West-Germany
- tel.:
- 0049-461-30315 0049-9131-57651
-