- From: Christoph P�per <christoph.paeper@crissov.de>
- Date: Wed, 18 Apr 2012 10:18:15 +0200
- To: CSS 3 W3C Group <www-style@w3.org>
Aryeh Gregor: > There is no CSS equivalent to <font size=7> � h6 1 xx-small 0.6rem 9.6px = 7.2pt x-small 0.75rem 12px = 9pt h5 2 small 0.89rem 14.2px = 10.7pt h4 3 medium 1rem 16px = 12pt h3 4 large 1.2rem 19.2px = 14.4pt h2 5 x-large 1.5rem 24px = 18pt h1 6 xx-large 2rem 32px = 24pt 7 xxx-large 3rem 48px = 36pt I think we should consider the �x� prefixes historical ballast, closely aligned to presentational HTML, and therefore obsolete or deprecate them. I previously suggested the prefixes �semi�, �extra� and �ultra� from <�font-stretch�> be applied to <�font-weight�> and maybe it would make sense to extend them to <�font-size�>, too, replacing �x� and �xx� with slightly different meanings. If we needed even smaller or larger sizes, I hereby suggest the new prefix �super�. super-small 0.25rem 2^-2 4px = 3pt ultra-small 0.5rem 2^-1 8px = 6pt \tiny extra-small 0.707rem 2^-1/2 11.3px = 8.5pt \scriptsize small 0.841rem 2^-1/4 13.5px = 10.1pt \footnotesize semi-small 0.917rem 2^-1/8 14.7px = 11pt \small medium 1rem 2^0 16px = 12pt \normalsize semi-large 1.091rem 2^+1/8 17.4px = 13.1pt large 1.189rem 2^+1/4 19px = 14.3pt \large extra-large 1.414rem 2^+1/2 22.6px = 17pt \Large 21pt \LARGE ultra-large 2rem 2^+1 32px = 24pt \huge super-large 4rem 2^+2 64px = 48pt LaTeX, like CSS2, uses a constant scaling factor of 1.2 between size steps and may apply rounding and capping. I have added its (case-sensitive) size commands for a base size of �12pt� to the ends of the corresponding lines above for comparison. There�s no close equivalent for �\LARGE� and �\Huge�. (I also ignored the fact that TeX�s �pt� is smaller than CSS�s �pt�, which would be called �bp� there.) PS: Is Note 1 in <http://dev.w3.org/csswg/css3-fonts/#font-size-prop> talking about CSS or device pixels?
Received on Wednesday, 18 April 2012 08:18:46 UTC