- From: Arnold, Curt <Curt.Arnold@hyprotech.com>
- Date: Tue, 2 Jan 2001 11:43:50 -0700
- To: "'www-svg@w3.org'" <www-svg@w3.org>
- Cc: "'svg-developers@egroups.com'" <svg-developers@egroups.com>
I'm going to reiterate that the text in the current version is unclear and that it would be beneficial if some examples were placed in the text. For example, what should be the result of displaying the following SVG fragment (a variant of text02.svg in the SVG spec): <svg width="10cm" height="3cm" viewBox="0 0 100000 30000"> <desc>Example text02 - Text in user space</desc> <text x="25000" y="15000" style="font-family:Verdana; font-size:12pt; fill:blue"> Text in user space </text> </svg> Based on my interpretation of the spec, a 12pt font size would get converted to something around 15 user units (depending on specifics of the device), resulting in text that was vanishingly small (0.015 mm). In this case, where you know the desired physical dimensions of the viewport, you could precalculate a font-size that would approximately give you the size that you desired (font-size=4233). However, if your viewport dimensions were expressed in percent (width="100%" height="100%"), then there appears to be no mechanism to declare anything with a size that is not relative to the viewport display window (unless you omit the viewBox attribute and then there is no mechanism to declare anything with an relative size or position).
Received on Tuesday, 2 January 2001 13:50:00 UTC