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

Re: [CSS21] os/2 and hhea tables

From: Adam Twardoch (List) <list.adam@twardoch.com>
Date: Sat, 23 Jun 2012 21:35:54 +0200
Message-ID: <4FE61A9A.8090209@twardoch.com>
To: www-style@w3.org
CC: Roger Baker <tstartme@hotmail.com>
Recommended reading:



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 Saturday, 23 June 2012 19:36:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC