[mythtv] Mythweb font size and color
Chris Petersen
lists at forevermore.net
Thu Feb 10 02:57:12 UTC 2005
> IMHO the only time that point size should be used in CSS is when
> formatting for print. Specifying a point size for use in a web browser is
> no different than specifying a pixel size. What looks good on one monitor
> may not look good on someone else's.
pixel-size fonts don't render the same in every browser, either. I
don't mind switching back to pixel heights -- I've just noticed that
most OS's seem to have a better job rendering point-sizes into something
readable (since most of them know that 9pt looks good, but 11px may not).
9pt font is *not* that small. 12 point font is HUGE. The program
listing font in mythweb is something like 9pt (or 11px -- forget if I
updated it yet or not) and I still find it cramped at 1280x1024.
> I have configured Firefox so that the default font looks good on my
> monitor. I can comfortably read anything that does not over-ride the font
> size. Font that is slightly larger or slightly smaller is still easy to
> read. But, by specifying a specific pixel size, my settings are being
> completely disregarded. And, on my 1400x1050 14" laptop, it looks too
> small.
um, "point" should be a relational size. If not, then it's a bug in
firefox. If you change the font size in firefox so that it's bigger or
smaller, the browser is supposed to render all hard-coded fonts larger
or smaller in relation to the default font size. That's how galeon
works, and how firefox works for me when I've tried it (I don't use it
very often) -- if I "zoom" even the hard-coded fonts get bigger/smaller
along with the rest of the text.
Thus, if your default font size is 9pt (down from the standard 12), and
css says that something is 9pt, your browser would render it down around
7pt (9 * 9/12). it would be the exact same thing if I said the font was
1.5em (or whatever), since it's all done according to the relation
between your default font size and the browser's original default font size.
-Chris
More information about the mythtv-dev
mailing list