Home » Archimedes archive » Acorn User » AU 1997-09 B.adf » Regulars » StarInfo/Vernon/!FontTrix/Demos/demo6
StarInfo/Vernon/!FontTrix/Demos/demo6
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/demo6 |
Read OK: | ✔ |
File size: | 01E8 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM > demo 20LIBRARY "<Font_SR$Dir>.Procs" 30PROCset_fontmax(50,50) 40PROCinitialise(63,192) 50font1=FNopen_font("Trinity.Medium", 30,30, 2,0, 63,192) 60PROCfont_scale(font1,"** Acorn User Acorn User Acorn User **",4,600,1,1) 70width%=FNscan_width(font1,"** Acorn User Acorn User Acorn User **") 80height%=FNscan_height(font1,"Acorn User") 90PROCfont_scale(font1,"width% = "+STR$width%,400,500,1,1) 100PROCfont_scale(font1,"height% = "+STR$height%,400,400,1,1) 110PROCclose_font(font1) 120PROCreset_fontmax 140END
� > demo ț "<Font_SR$Dir>.Procs" �set_fontmax(50,50) (�initialise(63,192) 2:font1=�open_font("Trinity.Medium", 30,30, 2,0, 63,192) <I�font_scale(font1,"** Acorn User Acorn User Acorn User **",4,600,1,1) FFwidth%=�scan_width(font1,"** Acorn User Acorn User Acorn User **") P,height%=�scan_height(font1,"Acorn User") Z6�font_scale(font1,"width% = "+�width%,400,500,1,1) d8�font_scale(font1,"height% = "+�height%,400,400,1,1) n�close_font(font1) x�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 17 f2 73 65 74 |>.Procs".....set| 00000030 5f 66 6f 6e 74 6d 61 78 28 35 30 2c 35 30 29 0d |_fontmax(50,50).| 00000040 00 28 17 f2 69 6e 69 74 69 61 6c 69 73 65 28 36 |.(..initialise(6| 00000050 33 2c 31 39 32 29 0d 00 32 3a 66 6f 6e 74 31 3d |3,192)..2:font1=| 00000060 a4 6f 70 65 6e 5f 66 6f 6e 74 28 22 54 72 69 6e |.open_font("Trin| 00000070 69 74 79 2e 4d 65 64 69 75 6d 22 2c 20 33 30 2c |ity.Medium", 30,| 00000080 33 30 2c 20 32 2c 30 2c 20 36 33 2c 31 39 32 29 |30, 2,0, 63,192)| 00000090 0d 00 3c 49 f2 66 6f 6e 74 5f 73 63 61 6c 65 28 |..<I.font_scale(| 000000a0 66 6f 6e 74 31 2c 22 2a 2a 20 41 63 6f 72 6e 20 |font1,"** Acorn | 000000b0 55 73 65 72 20 41 63 6f 72 6e 20 55 73 65 72 20 |User Acorn User | 000000c0 41 63 6f 72 6e 20 55 73 65 72 20 2a 2a 22 2c 34 |Acorn User **",4| 000000d0 2c 36 30 30 2c 31 2c 31 29 0d 00 46 46 77 69 64 |,600,1,1)..FFwid| 000000e0 74 68 25 3d a4 73 63 61 6e 5f 77 69 64 74 68 28 |th%=.scan_width(| 000000f0 66 6f 6e 74 31 2c 22 2a 2a 20 41 63 6f 72 6e 20 |font1,"** Acorn | 00000100 55 73 65 72 20 41 63 6f 72 6e 20 55 73 65 72 20 |User Acorn User | 00000110 41 63 6f 72 6e 20 55 73 65 72 20 2a 2a 22 29 0d |Acorn User **").| 00000120 00 50 2c 68 65 69 67 68 74 25 3d a4 73 63 61 6e |.P,height%=.scan| 00000130 5f 68 65 69 67 68 74 28 66 6f 6e 74 31 2c 22 41 |_height(font1,"A| 00000140 63 6f 72 6e 20 55 73 65 72 22 29 0d 00 5a 36 f2 |corn User")..Z6.| 00000150 66 6f 6e 74 5f 73 63 61 6c 65 28 66 6f 6e 74 31 |font_scale(font1| 00000160 2c 22 77 69 64 74 68 25 20 3d 20 22 2b c3 77 69 |,"width% = "+.wi| 00000170 64 74 68 25 2c 34 30 30 2c 35 30 30 2c 31 2c 31 |dth%,400,500,1,1| 00000180 29 0d 00 64 38 f2 66 6f 6e 74 5f 73 63 61 6c 65 |)..d8.font_scale| 00000190 28 66 6f 6e 74 31 2c 22 68 65 69 67 68 74 25 20 |(font1,"height% | 000001a0 3d 20 22 2b c3 68 65 69 67 68 74 25 2c 34 30 30 |= "+.height%,400| 000001b0 2c 34 30 30 2c 31 2c 31 29 0d 00 6e 16 f2 63 6c |,400,1,1)..n..cl| 000001c0 6f 73 65 5f 66 6f 6e 74 28 66 6f 6e 74 31 29 0d |ose_font(font1).| 000001d0 00 78 12 f2 72 65 73 65 74 5f 66 6f 6e 74 6d 61 |.x..reset_fontma| 000001e0 78 0d 00 8c 05 e0 0d ff |x.......| 000001e8