On 6/03/2012 6:21 AM, Markus Ernst wrote:
On 5 March 2012 11:01, Jukka K. Korpela<[email protected]> wrote:
I tried to play a bit with font-size-adjust, too, but it's apparently
still
a Firefox-only feature and might not even be suitable for this. Any
value
seems to either make Arial too small or Calibri too big.
If the same value for font-size-adjust leads to different visual
experiences for different fonts, I assume that either the calculation of
the aspect ratio is not good enough, or there is some fundamental
problem with the concept of aspect ratio. Let's hope this will be
improved until font-size-adjust will be a standard.
FWIW, your discussion inspired me to a suggestion on font-size-adjust in
www-style:
http://lists.w3.org/Archives/Public/www-style/2012Mar/0085.html
Here is a list of common 'serif font' fonts across various OS.
http://www.codestyle.org/css/font-family/sampler-Serif.shtml
Here is a tool to calculate x-heights over various font-size variations
(by Bruno).
http://brunildo.org/test/normal-lh-plot.html
Here is a tool to compare various x-height of different fonts (by
Bruno). Click the header for aspect.
http://www.brunildo.org/test/aspect-lh-table2.html
Some results that are close:
aspect line-h span-h w
Pristina 0.460 1.312 1.312 3277
KaiTi 0.461 1.142 1.001 3328
Calibri 0.464 1.222 1.222 3346
Candara 0.464 1.222 1.222 3558
Corbel 0.464 1.222 1.222 3581
Cambria 0.467 1.174 1.174 3611
Book Antiqua 0.467 1.244 1.244 3996
Here is a test where you can check common fonts, there variation of
x-height and line-height (very unfinished).
http://css-class.com/test/css/text/linebox-line-height-011.html
--
Alan Gresley
http://css-3d.org/
http://css-class.com/
______________________________________________________________________
css-discuss [[email protected]]
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/