- From: Koji Ishii <kojiishi@gluesoft.co.jp>
- Date: Wed, 3 Sep 2014 19:38:41 +0000
- To: Gérard Talbot <www-style@gtalbot.org>
- CC: Ambrose LI <ambrose.li@gmail.com>, fantasai <fantasai.lists@inkedblade.net>, W3C www-style mailing list <www-style@w3.org>
> Assume that the following inline text has 'text-orientation' set to 'upright': > > K > i > W > i > > and assume that characters do not have the same character width. Now, where would the central baseline be drawn? > > ... unless each and all glyphs must use the same character width and that the central baseline traverse the horizontal center of each glyph, there is a problem here. After re-reading the spec, I think I understand your question. In this text in the spec: > The central baseline, which typically crosses the center of the em box. Glyphs with proportional widths are not “typical” here. “K”, “i”, and “W” should have their origins at the center of the top edge. The next sentence: > If the font is missing this baseline, it is assumed to be halfway between the ascender (over) and descender (under) edges of the em box. and in this text, since baselines are vertical, for upright characters, you should consider the ascender (over) is the right side of each character, and the descender (under) is the left. “W” has wider ascender and descender than “i”, but the vertical origins (baselines) are center of both characters. Does this explain? /koji
Received on Wednesday, 3 September 2014 19:39:15 UTC