Re: General Text Metrics Requirement

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