W3C home > Mailing lists > Public > www-svg@w3.org > February 2008

Re: getNumberOfChars(), 16-bit units, and Acid3

From: Cameron McCormack <cam@mcc.id.au>
Date: Fri, 15 Feb 2008 12:30:43 +1100
To: www-svg@w3.org
Message-ID: <20080215013043.GF12726@arc.mcc.id.au>

Ian Hickson:
> I can't update the test without knowing what the other methods are going 
> to be changed to.
> 
> What's the start position of each part of a surrogate pair?
>
> Specifically, what's the return value of getStartPositonOfChar() and 
> t.getEndPositionOfChar() with a surrogate pair high word and with a 
> surrogate pair low word?

That should be treated just like multiple-character glyphs (like
ligatures), i.e. getStartPositionOfChar(firstSurrogate) ==
getStartPositionOfChar(secondSurrogate), and same for
getEndPositionOfChar().

But I will clarify those methods in other errata that I’ll have to
write.

> Is there an errata I can look at?

http://www.w3.org/Graphics/SVG/Group/repository/errata/errata.xml#svgtextcontentelement-getnumberofchars
(member-only, but Google is a member so you should be fine).  That just
covers getNumberOfChars(), and it’s still to be agreed ot be the group
(but should be); errata for the other methods I still have to write.

So you can hold off on making that test change until I write those, if
you want.

Cameron

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au
Received on Friday, 15 February 2008 01:31:02 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:38 GMT