1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
3 | <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'> |
4 | <head> |
5 | <meta name='title' content='default_fontstyle.x3d'/> |
6 | <meta name='Image' content='default-front.jpg'/> |
7 | <meta name='reference' content='http://www.nist.gov/vrml.html'/> |
8 | <meta name='reference' content='http://www.itl.nist.gov/div897/ctg/vrml/vrml.html'/> |
9 | <meta name='creator' content='http://www.itl.nist.gov/div897/ctg/vrml/members.html'/> |
10 | <meta name='disclaimer' content='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. '/> |
11 | <meta name='reference' content='Original NIST Conformance Testing Group, https://www.itl.nist.gov/div897/ctg/vrml'/> |
12 | <meta name='reference' content='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'/> |
13 | <meta name='info' content='Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d'/> |
14 | <meta name='translator' content='Michael Kass NIST, Don Brutzman NPS'/> |
15 | <meta name='translated' content='21 January 2001'/> |
16 | <meta name='modified' content='28 August 2023'/> |
17 | <meta name='Image' content='ConformanceNistAppearanceFontStyleDefaultDefaultMultipleBrowsers.png'/> |
18 | <meta name='description' content='Test default FontStyle rendering. A FontStyle node with default values for all of its fields is used to render three lines of a Text geometry. Horizontal lines in this world are spaced 1 unit apart. The green lines represent the X and Y axes of the local coordinate system. With a default "family" value of SERIF, the text should be be a SERIF family font. With "horizontal" equal to true, the text should be parallel to the X axis, and advance in the positive X direction. With "justify" = [BEGIN,"FIRST"], the text should be justified at the left edge of the line. With "leftToRight" = true, text should advance in a "left to right" direction along the major (X) axis. With a default font "size" of 1, the nominal font "glyph" height should be 1 unit in the local coordinate system. This corresponds to the distance between successive horizontal lines in this world. With a default font "spacing" of 1, the distance between the base of two succesive Text lines should be 1 unit in the local coordinate system. With a default "style" of PLAIN, the text should not appear bold, or italic, or bold and italic. With a default "topToBottom" value of true, successive lines of text should advance from top to bottom along the minor (Y) axis.'/> |
19 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/FontStyle/default_fontstyle.x3d'/> |
20 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
21 | <meta name='generator' content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/> |
22 | <meta name='license' content='../../license.html'/> |
23 | </head> |
24 | <Scene> |
25 | <WorldInfo title='default_fontstyle.x3d'/> |
26 | <Viewpoint description='Test default FontStyle rendering' position='0 0 15'/> |
27 | <Group> |
28 | <Shape> |
29 | <Appearance> |
30 | <Material/> |
31 | </Appearance> |
32 | <Text DEF='MYTEXT' string='"This is line #1" "line #2," "and line #3"'> |
33 | <FontStyle/> |
34 | </Text> |
35 | </Shape> |
36 | </Group> |
37 | <Transform> |
38 | <Shape> |
39 | <Appearance> |
40 | <Material emissiveColor='1 1 1'/> |
41 | </Appearance> |
42 | <IndexedLineSet DEF='LINES' coordIndex='0 1 -1 1 2 -1 3 4 -1 4 5 -1 6 7 -1 7 8 -1 9 10 -1 10 11 -1 12 13 -1 13 14 -1 15 16 -1 16 17 -1 18 19 -1 19 20 -1 21 22 -1 22 23 -1 24 25 -1 25 26 -1 27 28 -1 28 29 -1'> |
43 | <Coordinate point='-10 -5 0 0 -5 0 10 -5 0 -10 -4 0 0 -4 0 10 -4 0 -10 -3 0 0 -3 0 10 -3 0 -10 -2 0 0 -2 0 10 -2 0 -10 -1 0 0 -1 0 10 -1 0 -10 1 0 0 1 0 10 1 0 -10 2 0 0 2 0 10 2 0 -10 3 0 0 3 0 10 3 0 -10 4 0 0 4 0 10 4 0 -10 5 0 0 5 0 10 5 0'/> |
44 | </IndexedLineSet> |
45 | </Shape> |
46 | </Transform> |
47 | <Transform> |
48 | <Shape> |
49 | <Appearance> |
50 | <Material emissiveColor='0 1 0'/> |
51 | </Appearance> |
52 | <IndexedLineSet DEF='AXES' coordIndex='0 1 -1 2 3 -1'> |
53 | <Coordinate point='-10 0 0 10 0 0 0 5 0 0 -5 0'/> |
54 | </IndexedLineSet> |
55 | </Shape> |
56 | </Transform> |
57 | </Scene> |
58 | </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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->