Jelajahi Sumber

Update Creating-text.html

Since the javascript font specification is being deprecated, and typeface.neocracy.org is no longer operational, update the documentation to link to the JSON format found in the THREE.js git repo.
Nick 8 tahun lalu
induk
melakukan
1d26e55db1
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      docs/manual/introduction/Creating-text.html

+ 3 - 2
docs/manual/introduction/Creating-text.html

@@ -62,8 +62,9 @@
 		<div>
 			<p>
 				Use this method if you prefer to work purely in three.js or create procedural and dynamic 3d
-				text geometries. However, font data files <a href="http://typeface.neocracy.org/fonts.html">http://typeface.neocracy.org/fonts.html</a>
-				in the typeface.js format needs to be loaded.
+				text geometries. However, font data files in THREE.js JSON format needs to be loaded
+				(an example is provided in the 
+				<a href="https://raw.githubusercontent.com/mrdoob/three.js/master/examples/fonts/helvetiker_regular.typeface.json">THREE.js repo</a>).
 			</p>
 			<p>A Text Geometry can then be created with </p>
 			<code>new THREE.TextGeometry( text, parameters );</code>