Home » Archimedes archive » Archimedes World » AW-1995-06_Disc2.adf » June95_2 » Utility/!FontZip/!Help

Utility/!FontZip/!Help

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1995-06_Disc2.adf » June95_2
Filename: Utility/!FontZip/!Help
Read OK:
File size: 056D bytes
Load address: 0000
Exec address: 0000
File contents
FontZip is a small utility that will speed up the scanning process of font
directories in future. It creates a standard message file within the font
directory which the font module uses instead of having to scan the whole
directory structure.

Setting up a font map
~~~~~~~~~~~~~~~~~~~~~
Once the utility is loaded drag your !Font directory from the filer window onto
FontZip's icon. FontZip will now start to scan the font directory. A small
window opens which prompts you to enter a mapping� for each font; if you
don't wish to use one then just press return or click on the 'continue'
icon. If you don't wish to map any more fonts then click on the 'no more
maps' icon - the scanning will now continue without any prompts for
mappings. Once you have completed this process for you font directory you
will only need to use this utility again if you add to your list of fonts.

IMPORTANT
~~~~~~~~~
When you add new fonts to your directory you will need to run this program
again to alter the font map so as to add the new font to the list. If you do
not do this then your new font will not be available.

If wish to remove the font map from your fonts directory then simply delete the file 'Messages1' from inside the !Fonts directory.

1. A map will change the name of the font which applications use in their
font directories; But doesn't actually rename the font in the font
directory.
00000000  46 6f 6e 74 5a 69 70 20  69 73 20 61 20 73 6d 61  |FontZip is a sma|
00000010  6c 6c 20 75 74 69 6c 69  74 79 20 74 68 61 74 20  |ll utility that |
00000020  77 69 6c 6c 20 73 70 65  65 64 20 75 70 20 74 68  |will speed up th|
00000030  65 20 73 63 61 6e 6e 69  6e 67 20 70 72 6f 63 65  |e scanning proce|
00000040  73 73 20 6f 66 20 66 6f  6e 74 0a 64 69 72 65 63  |ss of font.direc|
00000050  74 6f 72 69 65 73 20 69  6e 20 66 75 74 75 72 65  |tories in future|
00000060  2e 20 49 74 20 63 72 65  61 74 65 73 20 61 20 73  |. It creates a s|
00000070  74 61 6e 64 61 72 64 20  6d 65 73 73 61 67 65 20  |tandard message |
00000080  66 69 6c 65 20 77 69 74  68 69 6e 20 74 68 65 20  |file within the |
00000090  66 6f 6e 74 0a 64 69 72  65 63 74 6f 72 79 20 77  |font.directory w|
000000a0  68 69 63 68 20 74 68 65  20 66 6f 6e 74 20 6d 6f  |hich the font mo|
000000b0  64 75 6c 65 20 75 73 65  73 20 69 6e 73 74 65 61  |dule uses instea|
000000c0  64 20 6f 66 20 68 61 76  69 6e 67 20 74 6f 20 73  |d of having to s|
000000d0  63 61 6e 20 74 68 65 20  77 68 6f 6c 65 0a 64 69  |can the whole.di|
000000e0  72 65 63 74 6f 72 79 20  73 74 72 75 63 74 75 72  |rectory structur|
000000f0  65 2e 0a 0a 53 65 74 74  69 6e 67 20 75 70 20 61  |e...Setting up a|
00000100  20 66 6f 6e 74 20 6d 61  70 0a 7e 7e 7e 7e 7e 7e  | font map.~~~~~~|
00000110  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 0a  |~~~~~~~~~~~~~~~.|
00000120  4f 6e 63 65 20 74 68 65  20 75 74 69 6c 69 74 79  |Once the utility|
00000130  20 69 73 20 6c 6f 61 64  65 64 20 64 72 61 67 20  | is loaded drag |
00000140  79 6f 75 72 20 21 46 6f  6e 74 20 64 69 72 65 63  |your !Font direc|
00000150  74 6f 72 79 20 66 72 6f  6d 20 74 68 65 20 66 69  |tory from the fi|
00000160  6c 65 72 20 77 69 6e 64  6f 77 20 6f 6e 74 6f 0a  |ler window onto.|
00000170  46 6f 6e 74 5a 69 70 27  73 20 69 63 6f 6e 2e 20  |FontZip's icon. |
00000180  46 6f 6e 74 5a 69 70 20  77 69 6c 6c 20 6e 6f 77  |FontZip will now|
00000190  20 73 74 61 72 74 20 74  6f 20 73 63 61 6e 20 74  | start to scan t|
000001a0  68 65 20 66 6f 6e 74 20  64 69 72 65 63 74 6f 72  |he font director|
000001b0  79 2e 20 41 20 73 6d 61  6c 6c 0a 77 69 6e 64 6f  |y. A small.windo|
000001c0  77 20 6f 70 65 6e 73 20  77 68 69 63 68 20 70 72  |w opens which pr|
000001d0  6f 6d 70 74 73 20 79 6f  75 20 74 6f 20 65 6e 74  |ompts you to ent|
000001e0  65 72 20 61 20 6d 61 70  70 69 6e 67 b9 20 66 6f  |er a mapping. fo|
000001f0  72 20 65 61 63 68 20 66  6f 6e 74 3b 20 69 66 20  |r each font; if |
00000200  79 6f 75 0a 64 6f 6e 27  74 20 77 69 73 68 20 74  |you.don't wish t|
00000210  6f 20 75 73 65 20 6f 6e  65 20 74 68 65 6e 20 6a  |o use one then j|
00000220  75 73 74 20 70 72 65 73  73 20 72 65 74 75 72 6e  |ust press return|
00000230  20 6f 72 20 63 6c 69 63  6b 20 6f 6e 20 74 68 65  | or click on the|
00000240  20 27 63 6f 6e 74 69 6e  75 65 27 0a 69 63 6f 6e  | 'continue'.icon|
00000250  2e 20 49 66 20 79 6f 75  20 64 6f 6e 27 74 20 77  |. If you don't w|
00000260  69 73 68 20 74 6f 20 6d  61 70 20 61 6e 79 20 6d  |ish to map any m|
00000270  6f 72 65 20 66 6f 6e 74  73 20 74 68 65 6e 20 63  |ore fonts then c|
00000280  6c 69 63 6b 20 6f 6e 20  74 68 65 20 27 6e 6f 20  |lick on the 'no |
00000290  6d 6f 72 65 0a 6d 61 70  73 27 20 69 63 6f 6e 20  |more.maps' icon |
000002a0  2d 20 74 68 65 20 73 63  61 6e 6e 69 6e 67 20 77  |- the scanning w|
000002b0  69 6c 6c 20 6e 6f 77 20  63 6f 6e 74 69 6e 75 65  |ill now continue|
000002c0  20 77 69 74 68 6f 75 74  20 61 6e 79 20 70 72 6f  | without any pro|
000002d0  6d 70 74 73 20 66 6f 72  0a 6d 61 70 70 69 6e 67  |mpts for.mapping|
000002e0  73 2e 20 4f 6e 63 65 20  79 6f 75 20 68 61 76 65  |s. Once you have|
000002f0  20 63 6f 6d 70 6c 65 74  65 64 20 74 68 69 73 20  | completed this |
00000300  70 72 6f 63 65 73 73 20  66 6f 72 20 79 6f 75 20  |process for you |
00000310  66 6f 6e 74 20 64 69 72  65 63 74 6f 72 79 20 79  |font directory y|
00000320  6f 75 0a 77 69 6c 6c 20  6f 6e 6c 79 20 6e 65 65  |ou.will only nee|
00000330  64 20 74 6f 20 75 73 65  20 74 68 69 73 20 75 74  |d to use this ut|
00000340  69 6c 69 74 79 20 61 67  61 69 6e 20 69 66 20 79  |ility again if y|
00000350  6f 75 20 61 64 64 20 74  6f 20 79 6f 75 72 20 6c  |ou add to your l|
00000360  69 73 74 20 6f 66 20 66  6f 6e 74 73 2e 0a 0a 49  |ist of fonts...I|
00000370  4d 50 4f 52 54 41 4e 54  0a 7e 7e 7e 7e 7e 7e 7e  |MPORTANT.~~~~~~~|
00000380  7e 7e 0a 57 68 65 6e 20  79 6f 75 20 61 64 64 20  |~~.When you add |
00000390  6e 65 77 20 66 6f 6e 74  73 20 74 6f 20 79 6f 75  |new fonts to you|
000003a0  72 20 64 69 72 65 63 74  6f 72 79 20 79 6f 75 20  |r directory you |
000003b0  77 69 6c 6c 20 6e 65 65  64 20 74 6f 20 72 75 6e  |will need to run|
000003c0  20 74 68 69 73 20 70 72  6f 67 72 61 6d 0a 61 67  | this program.ag|
000003d0  61 69 6e 20 74 6f 20 61  6c 74 65 72 20 74 68 65  |ain to alter the|
000003e0  20 66 6f 6e 74 20 6d 61  70 20 73 6f 20 61 73 20  | font map so as |
000003f0  74 6f 20 61 64 64 20 74  68 65 20 6e 65 77 20 66  |to add the new f|
00000400  6f 6e 74 20 74 6f 20 74  68 65 20 6c 69 73 74 2e  |ont to the list.|
00000410  20 49 66 20 79 6f 75 20  64 6f 0a 6e 6f 74 20 64  | If you do.not d|
00000420  6f 20 74 68 69 73 20 74  68 65 6e 20 79 6f 75 72  |o this then your|
00000430  20 6e 65 77 20 66 6f 6e  74 20 77 69 6c 6c 20 6e  | new font will n|
00000440  6f 74 20 62 65 20 61 76  61 69 6c 61 62 6c 65 2e  |ot be available.|
00000450  0a 0a 49 66 20 77 69 73  68 20 74 6f 20 72 65 6d  |..If wish to rem|
00000460  6f 76 65 20 74 68 65 20  66 6f 6e 74 20 6d 61 70  |ove the font map|
00000470  20 66 72 6f 6d 20 79 6f  75 72 20 66 6f 6e 74 73  | from your fonts|
00000480  20 64 69 72 65 63 74 6f  72 79 20 74 68 65 6e 20  | directory then |
00000490  73 69 6d 70 6c 79 20 64  65 6c 65 74 65 20 74 68  |simply delete th|
000004a0  65 20 66 69 6c 65 20 27  4d 65 73 73 61 67 65 73  |e file 'Messages|
000004b0  31 27 20 66 72 6f 6d 20  69 6e 73 69 64 65 20 74  |1' from inside t|
000004c0  68 65 20 21 46 6f 6e 74  73 20 64 69 72 65 63 74  |he !Fonts direct|
000004d0  6f 72 79 2e 0a 0a 31 2e  20 41 20 6d 61 70 20 77  |ory...1. A map w|
000004e0  69 6c 6c 20 63 68 61 6e  67 65 20 74 68 65 20 6e  |ill change the n|
000004f0  61 6d 65 20 6f 66 20 74  68 65 20 66 6f 6e 74 20  |ame of the font |
00000500  77 68 69 63 68 20 61 70  70 6c 69 63 61 74 69 6f  |which applicatio|
00000510  6e 73 20 75 73 65 20 69  6e 20 74 68 65 69 72 0a  |ns use in their.|
00000520  66 6f 6e 74 20 64 69 72  65 63 74 6f 72 69 65 73  |font directories|
00000530  3b 20 42 75 74 20 64 6f  65 73 6e 27 74 20 61 63  |; But doesn't ac|
00000540  74 75 61 6c 6c 79 20 72  65 6e 61 6d 65 20 74 68  |tually rename th|
00000550  65 20 66 6f 6e 74 20 69  6e 20 74 68 65 20 66 6f  |e font in the fo|
00000560  6e 74 0a 64 69 72 65 63  74 6f 72 79 2e           |nt.directory.|
0000056d