Skip to content

Commit 7d5a1ae

Browse files
Fix font url to Roboto-msdf.json in msdf example (#5811)
1 parent 82ac7d4 commit 7d5a1ae

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

examples/test/text/msdf.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
></a-mixin>
1414
<a-mixin id="msdf-text"
1515
text="align: center; width: 6;
16-
font: https://rawgit.com/Jam3/three-bmfont-text/master/test/fnt/Roboto-msdf.json;
16+
font: https://cdn.jsdelivr.net/gh/Jam3/three-bmfont-text@master/test/fnt/Roboto-msdf.json;
1717
value: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut enim ad minim veniam"
1818
></a-mixin>
1919
<a-mixin id="marker"
@@ -23,6 +23,8 @@
2323
></a-mixin>
2424
</a-assets>
2525

26+
<a-entity camera look-controls wasd-controls position="0 1.6 3"></a-entity>
27+
2628
<a-entity position="0 0 -3.7">
2729
<a-text mixin="msdf-text" position="-3 -2 0" wrap-count="20"></a-text>
2830
<a-entity mixin="marker" position="-3 -2 -0.1"></a-entity>

0 commit comments

Comments
 (0)