Drop the unnecessary webkit prefix to imageSmoothingEnabled.
Deal with bit: "8" when drawing the font, not in the parser, and validate options more rigorously.
Added 2x option, for retina-type displays.