Re: What is SVGGraphicsElement.getBBox() expected to return for textPaths and tspans?

2016-01-14 23:36 GMT+02:00 Nikos Andronikos
<Nikos.Andronikos@cisra.canon.com.au>:
> To answer your first question, for getBBox() on textPath and tspan, the
> expected result is the bounding box of the glyphs within the respective
> textPath or tspan element.

The bounding box calculation of text elements uses the terms "glyph
cell" and "full glyph cell". I assume textPath and tspan also uses
them.

Can you add clear definitions for "glyph cell" and "full glyph cell"
to the spec? Thay haven’t been defined anywhere and there has been
some confusion what they mean [1][2].

Thanks,
Kari

[1] https://lists.w3.org/Archives/Public/www-svg/2007Feb/0017.html
[2] https://lists.w3.org/Archives/Public/www-svg/2014Mar/0030.html

Received on Friday, 15 January 2016 07:16:00 UTC