Gabriel Wicke wrote:
Hm, th easiest way to scale images relative to the font size should be to use em's for height & width (and possible offsets via position:relative), but usually browsers don't do a very good job at scaling images- so i'm not sure if this is desirable at all.
Yes, that's not going to look goot at all. Images are problematic for a number of reasons: they don't scale well to different screen font sizes (ugly scaling or appearance at wrong size), they don't scale well to print resolution (ugly scaling), and they don't fit in well with alternate color schemes (transparent background has been considered, but would tend to fail if the user has overridden the background color to black, making hardcoded black math text illegible).
The best way to scale math is to render it as inline HTML (only looks decent for very simple stuff, as we do now) or MathML (which is provided for in 1.3, but only works with some browsers, only works in well-formed XHTML mode, and the MathML conversions haven't yet been completed.)
-- brion vibber (brion @ pobox.com)