- From: Adam Twardoch (List) <list.adam@twardoch.com>
- Date: Sat, 23 Jun 2012 21:35:54 +0200
- To: www-style@w3.org
- CC: Roger Baker <tstartme@hotmail.com>
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 Saturday, 23 June 2012 19:36:52 UTC