W3C home > Mailing lists > Public > www-style@w3.org > June 2012

RE: [CSS21] os/2 and hhea tables

From: Roger Baker <tstartme@hotmail.com>
Date: Sun, 24 Jun 2012 11:44:34 -0400
Message-ID: <SNT127-W1498066D0C48A68D5E4ACFD3E20@phx.gbl>
To: <list.adam@twardoch.com>, <www-style@w3.org>

Thanks very much Adam. On cursory glance these links look to be of great educational value -- I look forward to digging in...Roger> Date: Sat, 23 Jun 2012 21:35:54 +0200
> From: list.adam@twardoch.com
> To: www-style@w3.org
> CC: tstartme@hotmail.com
> Subject: Re: [CSS21] os/2 and hhea tables
> 
> Recommended reading:
> 
> http://www.kltf.de/downloads/FontMetrics-kltf.pdf
> http://typophile.com/node/13081
> http://code.google.com/p/googlefontdirectory/wiki/VerticalMetricsRecommendations
> http://typophile.com/node/77906
> 
> Regards,
> Adam
> 
> On 12-06-23 14:55, Roger Baker wrote:
> > I'm trying to better understand/predict font-size versus content area
> > for various fonts, and it seems I need a better understanding of font
> > metrics (for example, how a font's glyphs relate to the font's em
> > square). From the CSS2.1 spec (section 10.8.1):
> >
> > "Note. It is recommended that implementations that use OpenType or
> > TrueType fonts use the metrics "sTypoAscender" and "sTypoDescender"
> > from the font's OS/2 table for A and D (after scaling to the current
> > element's font size). In the absence of these metrics, the "Ascent"
> > and "Descent" metrics from the HHEA table should be used."
> >
> > I'm usually pretty good at "Googling", but in this case I haven't been
> > able to locate OS/2 and HHEA tables for particular fonts. I'll I've
> > found is general information explaining what the variables such as
> > sTypoAscender mean. Can someone please point me in the right direction
> > in terms of how to find *specific* font metric information for a given
> > font?
> >
> > Thank you
> 
> 
> -- 
> 
> May success attend your efforts,
> -- Adam Twardoch
> (Remove "list." from e-mail address to contact me directly.)
> 
> 
 		 	   		  
Received on Sunday, 24 June 2012 15:45:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:55 GMT