W3C home > Mailing lists > Public > www-svg@w3.org > November 2002

Re: General Text Metrics Requirement

From: Chris Lilley <chris@w3.org>
Date: Wed, 13 Nov 2002 19:19:51 +0100
Message-ID: <15888247265.20021113191951@w3.org>
To: www-svg@w3.org, Allen Razdow <arazdow@mathsoft.com>

On Wednesday, November 13, 2002, 2:51:25 PM, Allen wrote:

AR> SVG List,

AR> I haven't followed all details of the recently
AR> accelerated discussions, but would like to state
AR> a simple requirement I hope SVG will support:

AR> The ability to obtain metrics on a text string,
AR> in prevailing units such as pixels or points or picas,
AR> before rendering it.  Length, maximum ascent/descent would
AR> do, and length of a substring.

How would you obtain such information without using the DOM?

AR> For example, rendering a mathematical fraction properly
AR> (without MathML) would requre such.  

AR> It was my understanding that SVG 1.0 did not allow this easily,
AR> requiring escape into script+DOM to obtain these metrics. 

If you want a solution that does not use the DOM, its not clear to me
what you are asking.

 Chris                            mailto:chris@w3.org
Received on Wednesday, 13 November 2002 13:19:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:54 UTC