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

Proposal for a new attribute to the tspan element.

From: alexis <alexis.farmer@ingenta.com>
Date: Mon, 26 Nov 2001 17:20:52 +0000
Message-Id: <>
To: www-svg@w3.org
Cc: <thomas.deweese@kodak.com>
I propose a new attribute be added to the tspan element that modifies the 
behavior of the dx= attribute. The reason being is this:

Quite often one wants to override the default spacing between characters 
for instance when displaying fully justified text. The dx="" attribute lets 
you do this. The problem is that apart when you use an SVG font where the 
advance widths are fixed, advance widths are actually variable and 
calculated at the time of rendering the glyph. Adjustments are made 
depending on a number of things including the target resolution of your 
display device.

So you cannot possible know what numbers to put in dx="..." to get the 
characters exactly where you want them. A further problem is when one font 
is substituted for another with completely different advance widths.

If another attribute was specified which allowed you to use the dx="..." 
attribute to give total advance values, (ignoring any calculated values) 
this would fix the problem.

Received on Monday, 26 November 2001 12:25:00 UTC

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