[x3d-public] fontstyle versus FontStyle suggested patch

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Thu Sep 30 12:12:05 PDT 2021


Lower camel case fontStyle is name of field, upper camel case FontStyle is name of node.

As reported earlier, these X3dForAdvancedModeling/AudioSpatialSound models have known errors.  Corrections are not reported yet because that hasn’t happened yet.

all the best, Don
--
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman

From: John Carlson<mailto:yottzumm at gmail.com>
Sent: Sunday, September 19, 2021 3:00 AM
To: X3D Graphics public mailing list<mailto:x3d-public at web3d.org>; Efi Lakka<mailto:efilakka at gmail.com>
Subject: [x3d-public] fontstyle versus FontStyle suggested patch

Our tools like FontStyle a lot better than fontstyle.  YMMV

in X3dForAdvancedModeling/AudioSpatialSound

diff --git a/src/main/data/SplitChannels.x3d
b/src/main/data/SplitChannels.x3d
index 9d18c89cc..024b24736 100644
--- a/src/main/data/SplitChannels.x3d
+++ b/src/main/data/SplitChannels.x3d
@@ -44,7 +44,7 @@
              <Material ambientintensity='0.0933' diffusecolor='1 1 1'
emissivecolor='0 0 0' shininess='0.51' specularcolor='0.46 0.46 0.46'/>
            </Appearance>
            <Text ccw='true' lit='true' solid='false' string='Right
Channel Volume' usegeocache='true'>
-            <fontstyle family=''Times'' horizontal='true'
justify='BEGIN' lefttoright='true' size='1' spacing='1' style='BOLD'
toptobottom='true'/>
+            <FontStyle family=''Times'' horizontal='true'
justify='BEGIN' lefttoright='true' size='1' spacing='1' style='BOLD'
toptobottom='true'/>
            </Text>
          </Shape>
        </Transform>
@@ -74,7 +74,7 @@
              <Material ambientintensity='0.0933' diffusecolor='1 1 1'
emissivecolor='0 0 0' shininess='0.51' specularcolor='0.46 0.46 0.46'/>
            </Appearance>
            <Text ccw='true' lit='true' solid='false' string='Left
Channel Volume' usegeocache='true'>
-            <fontstyle family=''Times'' horizontal='true'
justify='BEGIN' lefttoright='true' size='1' spacing='1' style='BOLD'
toptobottom='true'/>
+            <FontStyle family=''Times'' horizontal='true'
justify='BEGIN' lefttoright='true' size='1' spacing='1' style='BOLD'
toptobottom='true'/>
            </Text>
          </Shape>
        </Transform>


_______________________________________________
x3d-public mailing list
x3d-public at web3d.org
http://web3d.org/mailman/listinfo/x3d-public_web3d.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210930/4e92d1c2/attachment.html>


More information about the x3d-public mailing list