Re: [css-writing-modes-3] central baseline of text with 'text-orientation: upright'

2014-08-29 22:47 GMT-04:00 G=E9rard Talbot <www-style@gtalbot.org>:
> If this is the case, then a central baseline can be determined for =
text with
> 'text-orientation' set to 'upright' but is this feature (characters =
designed
> to have a square character frame) also the case for other vertical =
scripts?


I=92m not sure if I understand your question, sorry if the following are =
all my misunderstandings, but I guess understanding the vertical metrics =
in OpenType might help you.

OpenType defines vmtx/VORG to define vertical baseline for glyphs; to be =
more accurate, vertical origins and advances. I can=92t find good =
pictures that explains this table, p. 23 of this PPT[1] may help. In the =
picture, the blue small circle indicates the vertical origins. As in the =
picture, upright Latin glyphs are expected to have their vertical =
origins at the center of top edges.

So all normal CSS baseline rules apply assuming:
a. Baselines are drawn vertically
b. The vertical origins of glyphs are placed to the baseline according =
to the normal CSS rules

Does this help your understanding?

Note that in the real world, not all fonts have these tables, but UA is =
expected to synthesize when not available.

[1] =
http://blogs.adobe.com/CCJKType/files/2012/06/afdko-mhattori-20120625.pdf

/koji

Received on Tuesday, 2 September 2014 07:47:06 UTC