On Wed, 24 Dec 2008 10:49:49 +0900, Philippe Wittenbergh wrote: > > On Dec 24, 2008, at 10:26 AM, David Hucklesby wrote: > >> It seems that the "monospace" keyword affects more than just Webkit. Playing >> with the >> font stack as you suggested, I found that *eliminating* >> that keyword made Webkit play along --- but using *only* that keyword gives >> Gecko the >> same bad behavior I noted for Gecko. Well, Firefox 3.0.4 on Mac, anyway. >> > > 'bad behaviour' is very relative [1]. But yes. Look at your prefs in Gecko: > for > 'monospace' the default is 13px (and that is cross platform), where as the > default for > serif/sans-serif is 16px. WebKit has the same font-size settings. > > One of the reasons is that monospace fonts tend to be much larger > (aspect-ratio) than > serif/sans-serif fonts. > > In the future, Gecko will probably get rid of all those settings completely, > and use > font-size-adjust to create an equally sized pref setting for fonts. > > Ideally, in your situation, you'd use font-size-adjust. Unfortunately, that > is only > supported by Gecko. I do this, progressive enhancement at work. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Interesting. Thank you. I used Jukka Korpela's tool to get aspect ratios of the Windows Vista fonts that are my first preference. I notice a subtle adjustment on FF Mac on applying font-size-adjust - the height of line-boxes change, for example. Good to know. <http://www.cs.tut.fi/~jkorpela/x-height.html> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > [1] and, as was clear from my previous answer, I don't think the behaviour in > WebKit > based browsers is a bug in the narrow sense of the word. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yes. "Unusual" would have been a better choice of word. "Bad" does suggest a bug. Web typography differs from print in many ways. I think it fortunate that we *do* have a choice of nice font faces available to us. Anyone who has tried to create recognizable letters using a grid nine units high knows just how difficult this is. (Banner-size letters on DOS, anyone?) Thanks again for all your help to this list. Best wishes for a wonderful 2009. Cordially, David -- ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/