Home » Archimedes archive » Acorn User » AU 1997-09 B.adf » Regulars » StarInfo/Vernon/!FontTrix/Demos/demo2

StarInfo/Vernon/!FontTrix/Demos/demo2

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 » Acorn User » AU 1997-09 B.adf » Regulars
Filename: StarInfo/Vernon/!FontTrix/Demos/demo2
Read OK:
File size: 0123 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM > demo
   20LIBRARY "<Font_SR$Dir>.Procs"
   30PROCset_fontmax(100,100)
   40PROCinitialise(63,192)
   50font1=FNopen_font("Trinity.Medium", 30,30, 2,0, 63,192)
   60FOR n=1 TO 16
   70  x=25*n: y=1000-3.6*n*n
   80  PROCfont_scale(font1,"Acorn User",x,y,n/10,n/10)
   90NEXT
  100PROCclose_font(font1)
  110PROCreset_fontmax
  130END

� > demo
ț "<Font_SR$Dir>.Procs"
�set_fontmax(100,100)
(�initialise(63,192)
2:font1=�open_font("Trinity.Medium", 30,30, 2,0, 63,192)
<� n=1 � 16
F  x=25*n: y=1000-3.6*n*n
P3  �font_scale(font1,"Acorn User",x,y,n/10,n/10)
Z�
d�close_font(font1)
n�reset_fontmax
��
�
00000000  0d 00 0a 0c f4 20 3e 20  64 65 6d 6f 0d 00 14 1c  |..... > demo....|
00000010  c8 9b 20 22 3c 46 6f 6e  74 5f 53 52 24 44 69 72  |.. "<Font_SR$Dir|
00000020  3e 2e 50 72 6f 63 73 22  0d 00 1e 19 f2 73 65 74  |>.Procs".....set|
00000030  5f 66 6f 6e 74 6d 61 78  28 31 30 30 2c 31 30 30  |_fontmax(100,100|
00000040  29 0d 00 28 17 f2 69 6e  69 74 69 61 6c 69 73 65  |)..(..initialise|
00000050  28 36 33 2c 31 39 32 29  0d 00 32 3a 66 6f 6e 74  |(63,192)..2:font|
00000060  31 3d a4 6f 70 65 6e 5f  66 6f 6e 74 28 22 54 72  |1=.open_font("Tr|
00000070  69 6e 69 74 79 2e 4d 65  64 69 75 6d 22 2c 20 33  |inity.Medium", 3|
00000080  30 2c 33 30 2c 20 32 2c  30 2c 20 36 33 2c 31 39  |0,30, 2,0, 63,19|
00000090  32 29 0d 00 3c 0e e3 20  6e 3d 31 20 b8 20 31 36  |2)..<.. n=1 . 16|
000000a0  0d 00 46 1c 20 20 78 3d  32 35 2a 6e 3a 20 79 3d  |..F.  x=25*n: y=|
000000b0  31 30 30 30 2d 33 2e 36  2a 6e 2a 6e 0d 00 50 33  |1000-3.6*n*n..P3|
000000c0  20 20 f2 66 6f 6e 74 5f  73 63 61 6c 65 28 66 6f  |  .font_scale(fo|
000000d0  6e 74 31 2c 22 41 63 6f  72 6e 20 55 73 65 72 22  |nt1,"Acorn User"|
000000e0  2c 78 2c 79 2c 6e 2f 31  30 2c 6e 2f 31 30 29 0d  |,x,y,n/10,n/10).|
000000f0  00 5a 05 ed 0d 00 64 16  f2 63 6c 6f 73 65 5f 66  |.Z....d..close_f|
00000100  6f 6e 74 28 66 6f 6e 74  31 29 0d 00 6e 12 f2 72  |ont(font1)..n..r|
00000110  65 73 65 74 5f 66 6f 6e  74 6d 61 78 0d 00 82 05  |eset_fontmax....|
00000120  e0 0d ff                                          |...|
00000123