[Inform] Font bug
Tue, 28 Nov 1995 20:49:54 +0100
OK, here's another bug. Actually I'm not sure whether it's an Inform bug or
an interpreter bug but I'm sure someone here can tell me. Again, take a
second to compile this:
#SWITCHES sv5x;
[ Main;
font off; print "This is proportional (wrong)"; font on;
new_line; new_line;
font off; print "But this isn't (right)^^"; font on;
Key(); quit;
];
[ Key k; print "[Press a key to quit]"; @read_char 1 k; ];
#END;
If you get the same result I did you will see that the first line of text is
proportional but shouldn't be, while the second line isn't and shouldn't be
either. It seems that the inclusion of the '^' escape character actually
triggers the font command -- otherwise it doesn't do anything noticeable.
--
Jools Arnold jools@arnod.demon.co.uk