浏览代码

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 年之前
父节点
当前提交
1d26e55db1
共有 1 个文件被更改,包括 3 次插入2 次删除
  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>