Re: [cssom-views] getBoxQuads and SVG text

On Thu, Sep 19, 2013 at 5:05 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Wed, Sep 18, 2013 at 4:00 AM, Robert O'Callahan <robert@ocallahan.org>
> wrote:
> > It's not clear to me how getBoxQuads should behave when called on an SVG
> > text element, or text node child of an SVG text element, that is being
> > rendered along a path. Should we return one DOMQuad per glyph, or one
> > DOMQuad that contains all the glyphs, or something else?
>
> That is an excellent question.  Off the top of my head, yes, one quad per
> glyph.
>

Not the easiest thing to implement, but OK. That makes sense for text
nodes, but is it the same answer for <text> and <tspan> elements?

A harder question: what about when we return quads from some arbitrary node
relative to a text node, <text> or <tspan> element that is being rendered
along a path? How is that supposed to work?

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*

Received on Wednesday, 18 September 2013 22:41:52 UTC