<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive'  version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.0.xsd ' >
<head>
<meta name='titlecontent=' size_spacing.x3d '/>
<meta name='Imagecontent='size_spacing-front.jpg' />
<meta name='referencecontent=' http://www.nist.gov/vrml.html '/>
<meta name='referencecontent=' http://www.itl.nist.gov/div897/ctg/vrml/vrml.html '/>
<meta name='creatorcontent=' http://www.itl.nist.gov/div897/ctg/vrml/members.html '/>
<meta name='disclaimercontent=' This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at http://www.nist.gov/vrml.html The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology (NIST). This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. '/>
<meta name='referencecontent=' Original NIST Conformance Testing Group, https://www.itl.nist.gov/div897/ctg/vrml '/>
<meta name='referencecontent=' Interactive Conformance Testing for VRML, Mary Brady and Lynn Rosenthal, NIST, created 8 September 2010 and updated 25 August 2016, https://www.nist.gov/itl/ssd/information-systems-group/interactive-conformance-testing-vrml '/>
<meta name='infocontent='Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d'/>
<meta name='translatorcontent='Michael Kass NIST, Don Brutzman NPS'/>
<meta name='translatedcontent='21 January 2001'/>
<meta name='modifiedcontent='28 August 2023'/>
<meta name='descriptioncontent='Test different size and spacing values for FontStyle node. Three different "size" and "spacing" combinations are used here to test browser ability to properly space text both horizontally and vertically. The first test sets size = 2 and spacing = 0.5 (the red text). Distance between the base of the two text lines should be 1 unit. For the horizontal text this is measured between the bottoms of the text lines. For the vertical text, spacing is measured between the left sides of adjacent text lines. In both cases, the nominal vertical height of the fonts should be 2 units. The second test sets size = 1 and spacing = 1 (the yellow text). Distance between the base of the two text lines should be 1 unit. For the horizontal text this is measured between the bottoms of the text lines. For the vertical text, spacing is measured between the left sides of adjacent text lines. In both cases, the nominal vertical height of the fonts should be 1 unit. The first test sets size = 0.75 and spacing = 4 (the blue text). Distance between the base of the two text lines should be 3 units. For the horizontal text this is measured between the bottoms of the text lines. For the vertical text, spacing is measured between the left sides of adjacent text lines. In both cases, the nominal vertical height of the fonts should be 0.75 units.'/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/FontStyle/size_spacing.x3d '/>
<meta name='generatorcontent=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/>
<meta name='generatorcontent='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../../license.html'/>
</head>
<!--

to top <!-- Index for DEF nodes: AXES, LEFT, RIGHT

Index for Viewpoint node: Viewpoint_1
-->
<Scene>
<WorldInfo title='size_spacing.x3d'/>
<Viewpoint description='FontStyle size and spacingposition='0 0 22'/>
<Transform translation='-15 6 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 0 0'/>
</Appearance>
<Text string='"Size 2" "Spacing .5"'>
<FontStyle size='2spacing='0.5'/>
</Text>
</Shape>
</Transform>
<Transform translation='-8 1 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 0'/>
</Appearance>
<Text string='"Size 1" "Spacing 1"'>
<FontStyle/>
</Text>
</Shape>
</Transform>
<Transform translation='0 9 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 0 0'/>
</Appearance>
<Text string='"Size 2" "Spacing .5"'>
<FontStyle horizontal='falsesize='2spacing='0.5'/>
</Text>
</Shape>
</Transform>
<Transform translation='7 9 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 1 0'/>
</Appearance>
<Text string='"Size 1" "Spacing 1"'>
<FontStyle horizontal='false'/>
</Text>
</Shape>
</Transform>
<Transform translation='-15 -4 0'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 1'/>
</Appearance>
<Text string='"Size 0.75" "Spacing 4"'>
<FontStyle size='0.75spacing='4'/>
</Text>
</Shape>
</Transform>
<Transform translation='12 9 0'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 1'/>
</Appearance>
<Text string='"Size 0.75" "Spacing 4"'>
<FontStyle horizontal='falsesize='0.75spacing='4'/>
</Text>
</Shape>
</Transform>
<Transform DEF='LEFT'>
<Shape>
<IndexedLineSet coordIndex='0 1 -1 2 3 -1 4 5 -1 6 7 -1 8 9 -1 10 11 -1 12 13 -1 14 15 -1 16 17 -1 18 19 -1 20 21 -1 22 23 -1 24 25 -1 26 27 -1 28 29 -1 30 31 -1 32 33 -1 34 35 -1 36 37 -1 38 39 -1'>
<Coordinate point='-20 -10 0 0 -10 0 -20 -9 0 0 -9 0 -20 -8 0 0 -8 0 -20 -7 0 0 -7 0 -20 -6 0 0 -6 0 -20 -5 0 0 -5 0 -20 -4 0 0 -4 0 -20 -3 0 0 -3 0 -20 -2 0 0 -2 0 -20 -1 0 0 -1 0 -20 1 0 0 1 0 -20 2 0 0 2 0 -20 3 0 0 3 0 -20 4 0 0 4 0 -20 5 0 0 5 0 -20 6 0 0 6 0 -20 7 0 0 7 0 -20 8 0 0 8 0 -20 9 0 0 9 0 -20 10 0 0 10 0'/>
</IndexedLineSet>
<Appearance>
<Material emissiveColor='0 1 0'/>
</Appearance>
</Shape>
</Transform>
<Transform DEF='RIGHT'>
<Shape>
<IndexedLineSet coordIndex='0 1 -1 2 3 -1 4 5 -1 6 7 -1 8 9 -1 10 11 -1 12 13 -1 14 15 -1 16 17 -1 18 19 -1 20 21 -1 22 23 -1 24 25 -1 26 27 -1 28 29 -1 30 31 -1 32 33 -1 34 35 -1 36 37 -1 38 39 -1'>
<Coordinate point='1 10 0 1 -10 0 2 10 0 2 -10 0 3 10 0 3 -10 0 4 10 0 4 -10 0 5 10 0 5 -10 0 6 10 0 6 -10 0 7 10 0 7 -10 0 8 10 0 8 -10 0 9 10 0 9 -10 0 10 10 0 10 -10 0 11 10 0 11 -10 0 12 10 0 12 -10 0 13 10 0 13 -10 0 14 10 0 14 -10 0 15 10 0 15 -10 0 16 10 0 16 -10 0 17 10 0 17 -10 0 18 10 0 18 -10 0 19 10 0 19 -10 0 20 10 0 20 -10 0'/>
</IndexedLineSet>
<Appearance>
<Material emissiveColor='0 1 0'/>
</Appearance>
</Shape>
</Transform>
<Transform>
<Shape>
<Appearance>
<Material emissiveColor='0 1 0'/>
</Appearance>
<IndexedLineSet DEF='AXEScoordIndex='0 1 -1 2 3 -1'>
<Coordinate point='-20 0 0 20 0 0 0 10 0 0 -10 0'/>
</IndexedLineSet>
</Shape>
</Transform>
</Scene>
</X3D>
<!--

to top <!-- Index for DEF nodes: AXES, LEFT, RIGHT

Index for Viewpoint node: Viewpoint_1
-->
-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/FontStyle/size_spacingIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/FontStyle/size_spacing.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->