March 12, 1999

Cross-Platform Font Uniformity

The fact that HTML fonts display smaller on Macintosh monitors than on PC monitors can cause problems for Web site designers. The cause of the problem is Macintosh monitors default to 72 dpi, while PC monitors default to 96 dpi. You can’t do anything to fix the cause, but you

Simplifying Switch Options

C/C++ programmers are used to parsing command line arguments using the “int argc” and “char *argv[]” parameters to the main() function. Java programmers can use a similar syntax to greatly simplify the processing of optional switches: public class DemoSwitch { // Optional switch – default is false private boolean switch